DocumentNodeRenderer
in package
implements
NodeRenderer, FullDocumentNodeRenderer
Interfaces, Classes and Traits
Table of Contents
- $environment : Environment
- __construct() : mixed
- render() : string
- renderDocument() : string
- isMain() : bool
Properties
$environment
private
Environment
$environment
Methods
__construct()
public
__construct(Environment $environment) : mixed
Parameters
- $environment : Environment
Return values
mixed —render()
public
render(Node $node) : string
Parameters
- $node : Node
Return values
string —renderDocument()
public
renderDocument(DocumentNode $node, Environment $environment) : string
Parameters
- $node : DocumentNode
- $environment : Environment
Return values
string —isMain()
private
isMain(DocumentNode $node) : bool
Parameters
- $node : DocumentNode