ActionsExtension deprecated

class ActionsExtension extends Twig_Extension

deprecated

since version 2.2, to be removed in 3.0.

Twig extension for Symfony actions helper.

Methods

__construct(FragmentHandler|ContainerInterface $handler) deprecated
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

__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

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

array getTokenParsers()

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

Return Value

array An array of \Twig_TokenParser instances

getName()

{@inheritdoc}

doc_Symfony
2016-10-28 06:04:55
Comments
Leave a Comment

Please login to continue.