PHP Class eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\CoreExtension

Inheritance: extends Twig_Extensio\Twig_Extension, implements Twig_Extension_GlobalsInterfac\Twig_Extension_GlobalsInterface
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( GlobalHelper $globalHelper )
getGlobals ( ) : array
getName ( ) : string Returns the name of the extension.

Method Details

__construct() public method

public __construct ( GlobalHelper $globalHelper )
$globalHelper eZ\Publish\Core\MVC\Symfony\Templating\GlobalHelper

getGlobals() public method

public getGlobals ( ) : array
return array

getName() public method

Returns the name of the extension.
public getName ( ) : string
return string The extension name