21 lines
351 B
PHP
21 lines
351 B
PHP
|
<?php
|
||
|
|
||
|
namespace League\HTMLToMarkdown\Converter;
|
||
|
|
||
|
use League\HTMLToMarkdown\ElementInterface;
|
||
|
|
||
|
interface ConverterInterface
|
||
|
{
|
||
|
/**
|
||
|
* @param ElementInterface $element
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function convert(ElementInterface $element);
|
||
|
|
||
|
/**
|
||
|
* @return string[]
|
||
|
*/
|
||
|
public function getSupportedTags();
|
||
|
}
|