class
League
/
CommonMark
/
Xml
/
XmlRenderer
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