Renderer
in package
Table of Contents
- $environmentFactory : EnvironmentFactory
- $templateRenderer : TemplateRenderer|null
- __construct() : mixed
- initialize() : void
- render() : string
- setDestination() : void
Properties
$environmentFactory
private
EnvironmentFactory
$environmentFactory
$templateRenderer
private
TemplateRenderer|null
$templateRenderer
Methods
__construct()
public
__construct(EnvironmentFactory $environmentFactory) : mixed
Parameters
- $environmentFactory : EnvironmentFactory
Return values
mixed —initialize()
public
initialize(ProjectDescriptor $project, DocumentationSetDescriptor $documentationSet, Transformation $transformation) : void
Parameters
- $project : ProjectDescriptor
- $documentationSet : DocumentationSetDescriptor
- $transformation : Transformation
Return values
void —render()
public
render(string $template[, array<string, mixed> $context = [] ]) : string
Parameters
- $template : string
- $context : array<string, mixed> = []
Return values
string —setDestination()
public
setDestination(string $destination) : void
Parameters
- $destination : string