Documentation

HtmlRenderer
in package
implements DocumentRendererInterface, ChildNodeRendererInterface

FinalYes

Table of Contents

Interfaces

DocumentRendererInterface
Renders a parsed Document AST
ChildNodeRendererInterface
Renders multiple nodes by delegating to the individual node renderers and adding spacing where needed

Properties

$environment  : EnvironmentInterface

Methods

__construct()  : mixed
getBlockSeparator()  : string
getInnerSeparator()  : string
renderDocument()  : RenderedContentInterface
Render the given Document node (and all of its children)
renderNodes()  : string
renderNode()  : Stringable|string

Properties

Methods

getBlockSeparator()

public getBlockSeparator() : string
Return values
string

getInnerSeparator()

public getInnerSeparator() : string
Return values
string

renderNodes()

public renderNodes(iterable<string|int, mixed> $nodes) : string
Parameters
$nodes : iterable<string|int, mixed>
Return values
string

        
On this page

Search results