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