Documentation

InlineFragmentRenderer extends RoutableFragmentRenderer
in package

Implements the inline rendering strategy where the Request is rendered by the current HTTP kernel.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

$dispatcher  : mixed
$kernel  : mixed
__construct()  : mixed
getName()  : mixed
{@inheritdoc}
render()  : mixed
{@inheritdoc}
setFragmentPath()  : mixed
Sets the fragment path that triggers the fragment listener.
createSubRequest()  : mixed
generateFragmentUri()  : string
Generates a fragment URI for a given controller.

Properties

Methods

render()

{@inheritdoc}

public render(mixed $uri, Request $request[, array<string|int, mixed> $options = [] ]) : mixed

Additional available options:

  • alt: an alternative URI to render in case of an error
Parameters
$uri : mixed
$request : Request
$options : array<string|int, mixed> = []
Return values
mixed

setFragmentPath()

Sets the fragment path that triggers the fragment listener.

public setFragmentPath(string $path) : mixed
Parameters
$path : string
Tags
see
FragmentListener
Return values
mixed

generateFragmentUri()

Generates a fragment URI for a given controller.

protected generateFragmentUri(ControllerReference $reference, Request $request[, bool $absolute = false ][, bool $strict = true ]) : string
Parameters
$reference : ControllerReference
$request : Request
$absolute : bool = false

Whether to generate an absolute URL or not

$strict : bool = true

Whether to allow non-scalar attributes or not

Return values
string

Search results