class HttpKernelExtension extends AbstractExtension

Provides integration with the HttpKernel component.

Methods

__construct(FragmentHandler $handler)

No description

getFunctions()

No description

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

No description

getName()

{@inheritdoc}

Details

at line 28
__construct(FragmentHandler $handler)

Parameters

FragmentHandler $handler

at line 33
getFunctions()

at line 52
string renderFragment(string|ControllerReference $uri, array $options = array())

Renders a fragment.

Parameters

string|ControllerReference $uri A URI as a string or a ControllerReference instance
array $options An array of options

Return Value

string The fragment content

See also

FragmentHandler::render

at line 71
string renderFragmentStrategy(string $strategy, string|ControllerReference $uri, array $options = array())

Renders a fragment.

Parameters

string $strategy A strategy name
string|ControllerReference $uri A URI as a string or a ControllerReference instance
array $options An array of options

Return Value

string The fragment content

See also

FragmentHandler::render

at line 76
controller($controller, $attributes = array(), $query = array())

Parameters

$controller
$attributes
$query

at line 84
getName()

{@inheritdoc}