Documentation

AsseticExtension extends Twig_Extension
in package
implements Twig_Extension_GlobalsInterface

Interfaces, Classes and Traits

Twig_Extension_GlobalsInterface
Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.

Table of Contents

$factory  : mixed
$functions  : mixed
$valueSupplier  : mixed
__construct()  : mixed
getFilterInvoker()  : mixed
getFilters()  : array<string|int, TwigFilter>
Returns a list of filters to add to the existing list.
getFunctions()  : mixed
getGlobals()  : mixed
getName()  : mixed
getNodeVisitors()  : array<string|int, NodeVisitorInterface>
Returns the node visitor instances to add to the existing list.
getOperators()  : array<string|int, array<string|int, mixed>>
Returns a list of operators to add to the existing list.
getTests()  : array<string|int, TwigTest>
Returns a list of tests to add to the existing list.
getTokenParsers()  : mixed

Properties

Methods

getFilterInvoker()

public getFilterInvoker(mixed $function) : mixed
Parameters
$function : mixed
Return values
mixed

getOperators()

Returns a list of operators to add to the existing list.

public getOperators() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

First array of unary operators, second array of binary operators

getTests()

Returns a list of tests to add to the existing list.

public getTests() : array<string|int, TwigTest>
Return values
array<string|int, TwigTest>

getTokenParsers()

public getTokenParsers() : mixed
Return values
mixed

Search results