PHP Class League\HTMLToMarkdown\Converter\EmphasisConverter

Inheritance: implements League\HTMLToMarkdown\Converter\ConverterInterface, implements League\HTMLToMarkdown\ConfigurationAwareInterface
Show file Open project: nickcernis/html-to-markdown

Protected Properties

Property Type Description
$config League\HTMLToMarkdown\Configuration

Public Methods

Method Description
convert ( League\HTMLToMarkdown\ElementInterface $element ) : string
getSupportedTags ( ) : string[]
setConfig ( League\HTMLToMarkdown\Configuration $config )

Method Details

convert() public method

public convert ( League\HTMLToMarkdown\ElementInterface $element ) : string
$element League\HTMLToMarkdown\ElementInterface
return string

getSupportedTags() public method

public getSupportedTags ( ) : string[]
return string[]

setConfig() public method

public setConfig ( League\HTMLToMarkdown\Configuration $config )
$config League\HTMLToMarkdown\Configuration

Property Details

$config protected property

protected Configuration,League\HTMLToMarkdown $config
return League\HTMLToMarkdown\Configuration