| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function load($rootDir) |
||
| 29 | { |
||
| 30 | try { |
||
| 31 | $project = $this->unserialize( |
||
| 32 | $this->readFromFile($this->getProjectIndexFilePath($rootDir)) |
||
| 33 | ); |
||
| 34 | if ($project instanceof __PHP_Incomplete_Class) { |
||
| 35 | return; |
||
| 36 | } |
||
| 37 | return $project; |
||
| 38 | } catch (\Exception $e) { |
||
| 39 | return; |
||
| 40 | } |
||
| 41 | } |
||
| 42 | protected function unserialize($rawProject) { |
||
| 69 |