PHP Class Newscoop\NewscoopBundle\Twig\IncludeAsVerbatimExtension

Inheritance: extends Twig_Extension
Show file Open project: sourcefabric/newscoop

Public Methods

Method Description
getFunctions ( ) : array Returns a list of global functions to add to the existing list.
getName ( ) : string Returns the name of the extension.
includeAsVerbatim ( Twig_Environment $env, $location )

Method Details

getFunctions() public method

Returns a list of global functions to add to the existing list.
public getFunctions ( ) : array
return array An array of global functions

getName() public method

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

includeAsVerbatim() public method

public includeAsVerbatim ( Twig_Environment $env, $location )
$env Twig_Environment