TemplateRenderer
in
Table of Contents
Methods
- isTemplateFound() : bool
- renderTemplate() : string
Methods
isTemplateFound()
public
isTemplateFound(RenderContext $context, string $template) : bool
Parameters
- $context : RenderContext
- $template : string
Return values
boolrenderTemplate()
public
renderTemplate(RenderContext $context, string $template[, array<string, mixed> $params = [] ]) : string
Parameters
- $context : RenderContext
- $template : string
- $params : array<string, mixed> = []