\Disco\twigTwigExtension

Disco Twig Extension. Provides globals, token parsers, functions etc.

About twig extensions: http://twig.sensiolabs.org/doc/advanced.html#creating-an-extension

Summary

Methods
Properties
Constants
getName()
getGlobals()
getTokenParsers()
getFunctions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getName()

getName() : string

The name of the extension.

Returns

string

getGlobals()

getGlobals() : array

The globals provided by the extension.

Returns

array

getTokenParsers()

getTokenParsers() : array

The token parsers provided by the extension.

Returns

array

getFunctions()

getFunctions() : array

The functions provided by the extension.

Returns

array