class RetentionBuilder extends TwigBuilder implements BuilderInterface

Class RetentionBuilder

Constants

TIMEZONE

Zona horaria para fechas en XML.

Properties

protected Environment $twig from TwigBuilder

Methods

__construct(array $options = [])

TwigBuilder constructor.

string
render(string $template, object $doc)

Get Content XML from template.

string|null
build(DocumentInterface $document)

Create file for document.

Details

in TwigBuilder at line 39
__construct(array $options = [])

TwigBuilder constructor.

Parameters

array $options [optional] Recommended: 'cache' => '/dir/cache'

in TwigBuilder at line 52
string render(string $template, object $doc)

Get Content XML from template.

Parameters

string $template
object $doc

Return Value

string

at line 29
string|null build(DocumentInterface $document)

Create file for document.

Parameters

DocumentInterface $document

Return Value

string|null Content File