class HttpKernelRuntime

Provides integration with the HttpKernel component.

Methods

__construct(FragmentHandler $handler)

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.

Details

__construct(FragmentHandler $handler)

Parameters

FragmentHandler $handler

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

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