| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 40 | private function loadCoreIndex() |
||
| 41 | { |
||
| 42 | if (self::$coreIndex) { |
||
| 43 | return; |
||
| 44 | } |
||
| 45 | self::$coreIndex = $this->read(STUBS_DIR)->getIndex(); |
||
| 46 | $indexClass = new \ReflectionClass(Index::class); |
||
| 47 | $coreIndexProperty = $indexClass->getProperty("coreIndex"); |
||
| 48 | $coreIndexProperty->setAccessible(true); |
||
| 49 | $coreIndexProperty->setValue(self::$coreIndex); |
||
| 50 | } |
||
| 51 | |||
| 56 |