Class Twig_SimpleFunction

InheritanceTwig_SimpleFunction

Represents a template function.

Property Details

$arguments protected property
protected $arguments = []
$callable protected property
protected $callable null
$name protected property
protected $name null
$options protected property
protected $options null

Method Details

__construct() public method

public void __construct ( $name, $callable, array $options = [] )
$name
$callable
$options
getAlternative() public method

public void getAlternative ( )
getArguments() public method

public void getArguments ( )
getCallable() public method

public void getCallable ( )
getDeprecatedVersion() public method

public void getDeprecatedVersion ( )
getName() public method

public void getName ( )
getNodeClass() public method

public void getNodeClass ( )
getSafe() public method

public void getSafe ( Twig_Node $functionArgs )
$functionArgs
isDeprecated() public method

public void isDeprecated ( )
isVariadic() public method

public void isVariadic ( )
needsContext() public method

public void needsContext ( )
needsEnvironment() public method

public void needsEnvironment ( )
setArguments() public method

public void setArguments ( $arguments )
$arguments