Renderer
in package
Table of Contents
- $environment : Environment|null
- $environmentFactory : EnvironmentFactory
- $logger : LoggerInterface
- $plantumlRenderer : PlantumlRenderer
- $templateRenderer : TemplateRenderer|null
- __construct() : mixed
- initialize() : void
- render() : string
- setDestination() : void
- setGuidesEnvironment() : void
Properties
$environment
private
Environment|null
$environment
$environmentFactory
private
EnvironmentFactory
$environmentFactory
$logger
private
LoggerInterface
$logger
$plantumlRenderer
private
PlantumlRenderer
$plantumlRenderer
$templateRenderer
private
TemplateRenderer|null
$templateRenderer
Methods
__construct()
public
__construct(EnvironmentFactory $environmentFactory, LoggerInterface $logger, PlantumlRenderer $plantumlRenderer) : mixed
Parameters
- $environmentFactory : EnvironmentFactory
- $logger : LoggerInterface
- $plantumlRenderer : PlantumlRenderer
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
Return values
void —setGuidesEnvironment()
public
setGuidesEnvironment(Environment $environment) : void
Parameters
- $environment : Environment