interface FragmentRendererInterface

Interface implemented by all rendering strategies.

Methods

render(string|ControllerReference $uri, Request $request, array $options = array())

Renders a URI and returns the Response content.

string
getName()

Gets the name of the strategy.

Details

at line line 34
Response render(string|ControllerReference $uri, Request $request, array $options = array())

Renders a URI and returns the Response content.

Parameters

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

Return Value

Response A Response instance

at line line 41
string getName()

Gets the name of the strategy.

Return Value

string The strategy name