Property | Type | Description | |
---|---|---|---|
$controllers | SplObjectStorage |
Method | Description | |
---|---|---|
__construct ( ) | ||
collect ( |
||
getContent ( ) | ||
getContentType ( ) | ||
getController ( ) : array | string | Gets the parsed controller. | |
getFlashes ( ) | ||
getFormat ( ) | ||
getIdentifier ( ) | ||
getLocale ( ) | ||
getMethod ( ) | ||
getName ( ) | ||
getPathInfo ( ) | ||
getRedirect ( ) : array | boolean | Gets the previous request attributes. | |
getRequestAttributes ( ) | ||
getRequestCookies ( $raw = false ) | ||
getRequestHeaders ( ) | ||
getRequestQuery ( ) | ||
getRequestRequest ( ) | ||
getRequestServer ( $raw = false ) | ||
getResponseHeaders ( ) | ||
getRoute ( ) : string | Gets the route name. | |
getRouteParams ( ) : array | Gets the route parameters. | |
getSessionAttributes ( ) | ||
getSessionMetadata ( ) | ||
getStatusCode ( ) | ||
getStatusText ( ) | ||
getSubscribedEvents ( ) | ||
onKernelController ( |
||
onKernelResponse ( |
Method | Description | |
---|---|---|
parseController ( mixed $controller ) : array | string | Parse a controller. |
public collect ( |
||
$request | ||
$response | ||
$exception | Exception |
public getController ( ) : array | string | ||
return | array | string | The controller as a string or array of data with keys 'class', 'method', 'file' and 'line' |
public getRedirect ( ) : array | boolean | ||
return | array | boolean | A legacy array of data from the previous redirection response or false otherwise |
public getRouteParams ( ) : array | ||
return | array | The parameters |
public onKernelController ( |
||
$event |
public onKernelResponse ( |
||
$event |