Class

Symfony\Bundle\TwigBundle\Extension\ActionsExtension

class ActionsExtension extends Twig_Extension

Twig extension for Symfony actions helper

Methods

__construct(ContainerInterface $container)

Constructor.

renderUri(string $uri, array $options = array())

Returns the Response content for a given URI.

array getTokenParsers()

Returns the token parser instance to add to the existing list.

getName()

Details

at line 33
public __construct(ContainerInterface $container)

Constructor.

Parameters

ContainerInterface $container The service container

at line 46
public renderUri(string $uri, array $options = array())

Returns the Response content for a given URI.

Parameters

string $uri A URI
array $options An array of options

See also

Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver::render()

at line 56
public array getTokenParsers()

Returns the token parser instance to add to the existing list.

Return Value

array An array of Twig_TokenParser instances

at line 64
public getName()