Ciconia / A New Markdown Parser for #PHP

class Ciconia extends Ciconia

Constants

VERSION

Methods

__construct(RendererInterface $renderer = null) from Ciconia
Event[]|string render(string $text, array $options = array())
Ciconia setRenderer(RendererInterface $renderer) from Ciconia
RendererInterface getRenderer() from Ciconia
Ciconia addExtension(ExtensionInterface $extension) from Ciconia
Ciconia addExtensions(array $extensions) from Ciconia
Ciconia removeExtension(string|object $extension) from Ciconia
boolean hasExtension(string|object $extension) from Ciconia

Details

in Ciconia at line 42 public __construct(RendererInterface $renderer = null)

Parameters

RendererInterface $renderer

at line 20 public Event[]|string render(string $text, array $options = array())

Parameters

string $text
array $options

Return Value

Event[]|string

in Ciconia at line 79 public Ciconia setRenderer(RendererInterface $renderer)

Parameters

RendererInterface $renderer

Return Value

Ciconia

in Ciconia at line 89 public RendererInterface getRenderer()

Return Value

RendererInterface

in Ciconia at line 99 public Ciconia addExtension(ExtensionInterface $extension)

Parameters

ExtensionInterface $extension

Return Value

Ciconia

in Ciconia at line 111 public Ciconia addExtensions(array $extensions)

Parameters

array $extensions

Return Value

Ciconia

in Ciconia at line 125 public Ciconia removeExtension(string|object $extension)

Parameters

string|object $extension

Return Value

Ciconia

in Ciconia at line 141 public boolean hasExtension(string|object $extension)

Parameters

string|object $extension

Return Value

boolean