| Total Complexity | 6 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class PurchaseListener |
||
| 16 | { |
||
| 17 | private $requestMatcher; |
||
| 18 | private $processor; |
||
| 19 | |||
| 20 | public function __construct(RequestMatcherInterface $requestMatcher, Processor $processor) |
||
| 21 | { |
||
| 22 | $this->requestMatcher = $requestMatcher; |
||
| 23 | $this->processor = $processor; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function onKernelRequest(GetResponseEvent $event) |
||
| 40 | } |
||
| 41 | } |
||
| 43 |