ActionsExtension deprecated
class ActionsExtension extends AbstractExtension
deprecated
Twig extension for Symfony actions helper.
Methods
__construct(FragmentHandler|ContainerInterface $handler) deprecated | ||
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
__construct(FragmentHandler|ContainerInterface $handler) deprecated
deprecated
Parameters
FragmentHandler|ContainerInterface | $handler |
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() |
AbstractTokenParser[] getTokenParsers()
Returns the token parser instance to add to the existing list.
Return Value
AbstractTokenParser[] |
getName()
{@inheritdoc}
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bundle/TwigBundle/Extension/ActionsExtension.html