PHP Class Todaymade\Daux\ContentTypes\Markdown\ContentType

Inheritance: implements Todaymade\Daux\ContentTypes\ContentType
Mostra file Open project: justinwalsh/daux.io

Protected Properties

Property Type Description
$config Todaymade\Daux\Config
$converter Todaymade\Daux\ContentTypes\Markdown\CommonMarkConverter

Public Methods

Method Description
__construct ( Config $config )
convert ( $raw, Todaymade\Daux\Tree\Content $node )
getExtensions ( ) : string[]

Method Details

__construct() public method

public __construct ( Config $config )
$config Todaymade\Daux\Config

convert() public method

public convert ( $raw, Todaymade\Daux\Tree\Content $node )
$node Todaymade\Daux\Tree\Content

getExtensions() public method

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

Property Details

$config protected_oe property

protected Config,Todaymade\Daux $config
return Todaymade\Daux\Config

$converter protected_oe property

protected CommonMarkConverter,Todaymade\Daux\ContentTypes\Markdown $converter
return Todaymade\Daux\ContentTypes\Markdown\CommonMarkConverter