Skip to content
Browse files

[RequestListener] Modify __contruct method

  • Loading branch information...
1 parent ebb8d14 commit 59bd0a42abc5ba024a718d47795f59834b6abae1 @jeremymarc jeremymarc committed Sep 12, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 RequestListener.php
View
4 RequestListener.php
@@ -21,10 +21,12 @@
class RequestListener
{
protected $collector;
+ protected $request;
- public function __construct(DataCollector\XhprofCollector $collector)
+ public function __construct(DataCollector\XhprofCollector $collector, Request $request)
{
$this->collector = $collector;
+ $this->request = $request;
}
public function onCoreRequest(GetResponseEvent $event)

0 comments on commit 59bd0a4

Please sign in to comment.
Something went wrong with that request. Please try again.