1 | <?php |
||
9 | class SandboxListener |
||
10 | { |
||
11 | /** |
||
12 | * @var \Symfony\Component\HttpFoundation\Request |
||
13 | */ |
||
14 | private $request; |
||
15 | /** |
||
16 | * @var \danrevah\SandboxBundle\Managers\SandboxResponseManager |
||
17 | */ |
||
18 | private $sandboxResponseManager; |
||
19 | |||
20 | /** |
||
21 | * @param RequestStack $requestStack |
||
22 | * @param SandboxResponseManager $sandboxResponseManager |
||
23 | */ |
||
24 | public function __construct( |
||
31 | |||
32 | /** |
||
33 | * Overriding response in Sandbox mode |
||
34 | * |
||
35 | * @param FilterControllerEvent $event |
||
36 | * @throws \Exception |
||
37 | */ |
||
38 | public function onKernelController(FilterControllerEvent $event) |
||
57 | |||
58 | |||
59 | /** |
||
60 | * @return ArrayCollection |
||
61 | */ |
||
62 | private function getStreamParams() |
||
70 | } |
||
71 |