class HttpKernelExtension extends Twig_Extension
Provides integration with the HttpKernel component.
__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} |
Constructor.
Renders a fragment.
Renders a fragment.
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bridge/Twig/Extension/HttpKernelExtension.html