| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 55 | public function load(string $file): stdClass |
||
| 56 | { |
||
| 57 | if (isset($this->schemas[$file]) === false) { |
||
| 58 | $schema = $this->loader->load($file); |
||
| 59 | $dereferencedSchema = $this->dereferencer->dereference($schema); |
||
| 60 | |||
| 61 | $this->schemas[$file] = $dereferencedSchema; |
||
| 62 | } |
||
| 63 | |||
| 64 | return $this->schemas[$file]; |
||
| 65 | } |
||
| 79 |