class RouterDataCollector extends RouterDataCollector

RouterDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

__construct()

No description

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

onKernelController(FilterControllerEvent $event)

Remembers the controller associated to each request.

Boolean
getRedirect()

No description

string|null
getTargetUrl()

No description

string|null
getTargetRoute()

No description

string
getName()

Returns the name of the collector.

guessRoute(Request $request, $controller)

No description

Details

in DataCollector at line line 25
serialize()

in DataCollector at line line 30
unserialize($data)

Parameters

$data

in RouterDataCollector at line line 28
__construct()

in RouterDataCollector at line line 42
collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

Parameters

Request $request A Request instance
Response $response A Response instance
Exception $exception An Exception instance

in RouterDataCollector at line line 66
onKernelController(FilterControllerEvent $event)

Remembers the controller associated to each request.

Parameters

FilterControllerEvent $event The filter controller event

in RouterDataCollector at line line 74
Boolean getRedirect()

Return Value

Boolean Whether this request will result in a redirect

in RouterDataCollector at line line 82
string|null getTargetUrl()

Return Value

string|null The target URL

in RouterDataCollector at line line 90
string|null getTargetRoute()

Return Value

string|null The target route

in RouterDataCollector at line line 98
string getName()

Returns the name of the collector.

Return Value

string The collector name

at line line 25
guessRoute(Request $request, $controller)

Parameters

Request $request
$controller