class HtmlReport implements ReportInterface

Class HtmlReport.

Constants

TIMEZONE

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 42
__construct(string|null $templatesDir = '', array $optionTwig = [])

HtmlReport constructor.

Parameters

string|null $templatesDir
array $optionTwig

at line 59
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 74
setTemplate(string|null $template)

Set filename templte.

Parameters

string|null $template

at line 82
Environment|null getTwig()

Return Value

Environment|null