class ActionsExtension extends AbstractExtension

deprecated since version 2.2, to be removed in 3.0.

Twig extension for Symfony actions helper.

Methods

__construct(FragmentHandler|ContainerInterface $handler) deprecated

No description

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

Returns the Response content for a given URI.

AbstractTokenParser[]
getTokenParsers()

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

getName()

{@inheritdoc}

Details

at line 36
__construct(FragmentHandler|ContainerInterface $handler) deprecated

deprecated Passing a ContainerInterface as a first argument is deprecated since 2.7 and will be removed in 3.0.

Parameters

FragmentHandler|ContainerInterface $handler

at line 59
string|null 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

Return Value

string|null The Response content or null when the Response is streamed

See also

FragmentHandler::render

at line 74
AbstractTokenParser[] getTokenParsers()

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

Return Value

AbstractTokenParser[]

at line 85
getName()

{@inheritdoc}