Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | protected function doRequest($request) |
||
44 | { |
||
45 | if ($this->requestPerformed) { |
||
46 | // Reboot sfKernel to avoid parent::doRequest to shutdown it and from Kernel::handle to boot it |
||
47 | $this->kernelHandler->rebootSfKernel(); |
||
48 | } else { |
||
49 | $this->requestPerformed = true; |
||
50 | } |
||
51 | |||
52 | return parent::doRequest($request); |
||
53 | } |
||
54 | } |
||
55 |