class League / CommonMark / Xml / XmlRenderer
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final

XmlRenderer

Implements

Constants

private

INDENTATION

Default: ' '

Properties

private

$environment

Default: null
private

$fallbackRenderer

Default: null
private

$rendererCache array

Default: []

Methods

public

__construct ( EnvironmentInterface $environment ) : void

public

renderDocument ( Document $document ) : void

private static

tag ( string $name , array $attrs , bool $selfClosing ) : void

Parameters

  • $attrs array|int|float|bool>
private static

convertAndEscape ( $value ) : void

Parameters

  • $value string|int|float|bool
private

findXmlRenderer ( Node $node ) : void