class HtmlReport implements ReportInterface

Class HtmlReport.

Methods

__construct(string|null $templatesDir = '', array $optionTwig = [])

HtmlReport constructor.

string|null
render(DocumentInterface $document, array $parameters = [])

Build html report.

setTemplate(string|null $template)

Set filename templte.

Environment|null
getTwig()

No description

Details

at line 40
__construct(string|null $templatesDir = '', array $optionTwig = [])

HtmlReport constructor.

Parameters

string|null $templatesDir
array $optionTwig

at line 57
string|null render(DocumentInterface $document, array $parameters = [])

Build html report.

Parameters

DocumentInterface $document
array $parameters

Return Value

string|null

Exceptions

LoaderError
RuntimeError
SyntaxError

at line 72
setTemplate(string|null $template)

Set filename templte.

Parameters

string|null $template

at line 80
Environment|null getTwig()

Return Value

Environment|null