Twig_Function_Node

Extends\Twig_Function

Represents a template function as a node.

Use \Twig\TwigFunction instead.

author

Fabien Potencier fabien@symfony.com

deprecated

since 1.12 (to be removed in 2.0)

package

Default

Methods

__construct

__construct(array $options = array())
inherited

Arguments

$options

array

compile

compile()

getArguments

getArguments()
inherited

getCallable

getCallable()
inherited

getClass

getClass()

getSafe

getSafe(\Twig\Node\Node $functionArgs)
inherited

Arguments

$functionArgs

\Twig\Node\Node

needsContext

needsContext()
inherited

needsEnvironment

needsEnvironment()
inherited

setArguments

setArguments( $arguments)
inherited

Arguments

$arguments

Properties

class

class :

Type(s)

options

options :
inherited

Type(s)

arguments

arguments :
inherited

Type(s)