class SummaryBuilder extends TwigBuilder implements BuilderInterface

Class SummaryBuilder

Properties

protected Environment $twig from TwigBuilder

Methods

__construct(array $options = [])

TwigBuilder constructor.

string
render(string $template, object $doc)

Get Content XML from template.

string
build(DocumentInterface $document)

Create xml for document.

Details

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

TwigBuilder constructor.

Parameters

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

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

Get Content XML from template.

Parameters

string $template
object $doc

Return Value

string

at line 27
string build(DocumentInterface $document)

Create xml for document.

Parameters

DocumentInterface $document

Return Value

string Content File