Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 4 |
1 | <?php |
||
32 | public function clean() |
||
33 | { |
||
34 | foreach ($this->properties as $name => $value) { |
||
35 | if (property_exists(self::ADMIN_CLASS, $name)) { |
||
36 | $this->reflection->setStaticPropertyValue($name, $value); |
||
37 | } |
||
38 | } |
||
39 | $this->currentApp->forgetInstance(self::ADMIN_CLASS); |
||
40 | Facade::clearResolvedInstance(self::ADMIN_CLASS); |
||
41 | } |
||
42 | } |