Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
7 | class CookieCleaner extends BaseCleaner |
||
8 | { |
||
9 | private $queued; |
||
10 | |||
11 | public function __construct(Container $currentApp, Container $snapshotApp) |
||
12 | { |
||
13 | parent::__construct($currentApp, $snapshotApp); |
||
14 | if (!isset($this->currentApp['cookie'])) { |
||
15 | return; |
||
16 | } |
||
17 | $ref = new \ReflectionObject($this->currentApp['cookie']); |
||
18 | $this->queued = $ref->getProperty('queued'); |
||
19 | $this->queued->setAccessible(true); |
||
20 | } |
||
21 | |||
22 | public function clean() |
||
28 | } |
||
29 | } |