Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function __construct(Container $currentApp, Container $snapshotApp) |
||
15 | { |
||
16 | parent::__construct($currentApp, $snapshotApp); |
||
17 | |||
18 | if (!isset($this->currentApp['session'])) { |
||
19 | return; |
||
20 | } |
||
21 | $ref = new \ReflectionObject($this->currentApp['session']); |
||
22 | $this->drivers = $ref->getProperty('drivers'); |
||
23 | $this->drivers->setAccessible(true); |
||
24 | |||
43 | } |