Ciconia / A New Markdown Parser for #PHP

class Markdown extends Markdown

Methods

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

Constructor

from Markdown
HashRegistry getHashRegistry() from Markdown
Collection getTitleRegistry() from Markdown
Collection getUrlRegistry() from Markdown
array getOptions() from Markdown
Text getRawContent() from Markdown
start()
Event[] stop()
mixed|void emit($event $event, $parameters $parameters)

Execute each of the subscribed listeners

string getCallableName($callable $callable)

Details

in Markdown 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

in Markdown at line 73 public HashRegistry getHashRegistry()

Return Value

HashRegistry

in Markdown at line 81 public Collection getTitleRegistry()

Return Value

Collection

in Markdown at line 89 public Collection getUrlRegistry()

Return Value

Collection

in Markdown at line 97 public array getOptions()

Return Value

array

in Markdown at line 105 public Text getRawContent()

Return Value

Text

at line 29 public start()

at line 37 public Event[] stop()

Return Value

Event[]

at line 48 public mixed|void emit($event $event, $parameters $parameters)

Execute each of the subscribed listeners

Parameters

$event $event
$parameters $parameters

Return Value

mixed|void

at line 97 public string getCallableName($callable $callable)

Parameters

$callable $callable

Return Value

string