TwigLayoutContainerInternal

Namespace

Ceres\Extensions

Extends
Implements
Properties
Type Name Description

TwigFactory

$twig

The factory to render TWIG.

Methods
public __construct($twig)

TwigLayoutContainerInternal constructor.

Parameters

Type

Name

Description

TwigFactory

$twig

public getName():string

Return the name of the extension.

public getFunctions():array

Return a list of functions to add.

public getFilters():array

Return a list of filters to add.

public getInternalContainer($containerName, $arguments):array

Get a list of rendered layout containers, normally used in the twig template renderer.

Parameters

Type

Name

Description

string

$containerName

The name of the container.

string

$arguments

Optional arguments.

public getGlobals():array

Return a map of global helper objects to add.