class TwigFunctionDefinition extends AbstractTwigDefinition

Class TwigFunctionDefinition.

Methods

__construct($name = null, callable $callable = null, TwigOptionsDefinition $options = null)

No description

$this
setName( string $name)

No description

$this
setCallable( callable $callable)

No description

$this
setOptions( TwigOptionsDefinition $options)

No description

Twig_Function|Twig_Filter
getNativeInstance()

No description

Details

in AbstractTwigDefinition at line line 38
__construct($name = null, callable $callable = null, TwigOptionsDefinition $options = null)

Parameters

$name
callable $callable
TwigOptionsDefinition $options

in AbstractTwigDefinition at line line 53
$this setName( string $name)

Parameters

string $name

Return Value

$this

in AbstractTwigDefinition at line line 65
$this setCallable( callable $callable)

Parameters

callable $callable

Return Value

$this

in AbstractTwigDefinition at line line 77
$this setOptions( TwigOptionsDefinition $options)

Parameters

TwigOptionsDefinition $options

Return Value

$this

in AbstractTwigDefinition at line line 87
TwigOptionsDefinition getOptions()

Return Value

TwigOptionsDefinition

at line line 22
Twig_Function|Twig_Filter getNativeInstance()

Return Value

Twig_Function|Twig_Filter