Class

Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector

class RequestDataCollector extends RequestDataCollector

RequestDataCollector.

Methods

serialize()

from DataCollector
unserialize($data)

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

Collects data for the given Request and Response.

getRequestRequest()

from RequestDataCollector
getRequestQuery()

from RequestDataCollector
getRequestHeaders()

from RequestDataCollector
getRequestServer()

from RequestDataCollector
getRequestCookies()

from RequestDataCollector
getRequestAttributes()

from RequestDataCollector
getResponseHeaders()

from RequestDataCollector
getSessionAttributes()

from RequestDataCollector
getContent()

from RequestDataCollector
getContentType()

from RequestDataCollector
getStatusCode()

from RequestDataCollector
getFormat()

from RequestDataCollector
string getName()

Returns the name of the collector.

from RequestDataCollector
__construct()

onKernelController(FilterControllerEvent $event)

string getRoute()

Gets the route.

string getController()

Gets the controller.

Details

in DataCollector at line 25
public serialize()

in DataCollector at line 30
public unserialize($data)

Parameters

$data

at line 36
public 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 RequestDataCollector at line 71
public getRequestRequest()

in RequestDataCollector at line 76
public getRequestQuery()

in RequestDataCollector at line 81
public getRequestHeaders()

in RequestDataCollector at line 86
public getRequestServer()

in RequestDataCollector at line 91
public getRequestCookies()

in RequestDataCollector at line 96
public getRequestAttributes()

in RequestDataCollector at line 101
public getResponseHeaders()

in RequestDataCollector at line 106
public getSessionAttributes()

in RequestDataCollector at line 111
public getContent()

in RequestDataCollector at line 116
public getContentType()

in RequestDataCollector at line 121
public getStatusCode()

in RequestDataCollector at line 126
public getFormat()

in RequestDataCollector at line 134
public string getName()

Returns the name of the collector.

Return Value

string The collector name

at line 28
public __construct()

at line 62
public onKernelController(FilterControllerEvent $event)

Parameters

FilterControllerEvent $event

at line 72
public string getRoute()

Gets the route.

Return Value

string The route

at line 82
public string getController()

Gets the controller.

Return Value

string The controller as a string