HttpKernelExtension
HttpKernelExtension
class HttpKernelExtension extends Twig_Extension
Provides integration with the HttpKernel component.
Methods
__construct(FragmentHandler $handler) Constructor. | ||
getFunctions() | ||
string | renderFragment(string|ControllerReference $uri, array $options = array()) Renders a fragment. | |
string | renderFragmentStrategy(string $strategy, string|ControllerReference $uri, array $options = array()) Renders a fragment. | |
controller($controller, $attributes = array(), $query = array()) | ||
getName() {@inheritdoc} |
Details
__construct(FragmentHandler $handler)
Constructor.
getFunctions()
string renderFragment(string|ControllerReference $uri, array $options = array())
Renders a fragment.
string renderFragmentStrategy(string $strategy, string|ControllerReference $uri, array $options = array())
Renders a fragment.
controller($controller, $attributes = array(), $query = array())
getName()
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Bridge/Twig/Extension/HttpKernelExtension.html