Twig_Function_Function

Extends\Twig_Function

Represents a function template function.

Use \Twig\TwigFunction instead.

author

Arnaud Le Blanc arnaud.lb@gmail.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

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

function

function :

Type(s)

options

options :
inherited

Type(s)

arguments

arguments :
inherited

Type(s)