HttpKernelRuntime
class HttpKernelRuntime
Provides integration with the HttpKernel component.
Methods
Details
Parameters
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() |
|
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() |
|