Skip to content

Commit

Permalink
[HttpKernel] added the path info in the request data collector
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 31, 2011
1 parent e462f7b commit 3d5ecc0
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -65,9 +65,15 @@ public function collect(Request $request, Response $response, \Exception $except
'request_attributes' => $attributes,
'response_headers' => $responseHeaders,
'session_attributes' => $request->hasSession() ? $request->getSession()->all() : array(),
'path_info' => $request->getPathInfo(),
);
}

public function getPathInfo()
{
return $this->data['path_info'];
}

public function getRequestRequest()
{
return new ParameterBag($this->data['request_request']);
Expand Down

0 comments on commit 3d5ecc0

Please sign in to comment.