RendererInterface

Interface for a document renderer

since

4.0.0

Methods

render

Renders a script and returns the results as a string

render(string $name, array $params = null, string $content = null) : string
since

4.0.0

Arguments

$name

stringThe name of the element to render

$params

arrayArray of values

$content

stringOverride the output of the renderer

Response

stringThe output of the script