Ciconia / A New Markdown Parser for #PHP

class Markdown implements EmitterInterface

Manages options and events

Methods

__construct(RendererInterface $renderer, Text $rawContent = null, array $options = array())

Constructor

HashRegistry getHashRegistry()

Returns HashRegistry

Collection getTitleRegistry()

Returns the collection of titles

Collection getUrlRegistry()

Returns the collection of urls

array getOptions()

Returns the option

Text getRawContent()

Returns original text

Details

at line 60 public __construct(RendererInterface $renderer, Text $rawContent = null, array $options = array())

Constructor

Parameters

RendererInterface $renderer A RendererInterface instance
Text $rawContent [optional] The whole content
array $options [optional] An array of options

at line 75 public HashRegistry getHashRegistry()

Returns HashRegistry

Return Value

HashRegistry

at line 85 public Collection getTitleRegistry()

Returns the collection of titles

Return Value

Collection

at line 95 public Collection getUrlRegistry()

Returns the collection of urls

Return Value

Collection

at line 105 public array getOptions()

Returns the option

Return Value

array

at line 115 public Text getRawContent()

Returns original text

Return Value

Text