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}
Please login to continue.