Symfony API
Class

Symfony\Bundle\TwigBundle\Extension\ActionsExtension

class ActionsExtension extends Twig_Extension

Twig extension for Symfony actions helper.

Methods

__construct(FragmentHandler|ContainerInterface $handler)

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()

{@inheritdoc}

Details

at line 34
public __construct(FragmentHandler|ContainerInterface $handler)

Parameters

FragmentHandler|ContainerInterface $handler

at line 57
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

FragmentHandler::render()

at line 72
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 83
public getName()

{@inheritdoc}