| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function get($schemaId) |
||
| 45 | { |
||
| 46 | $class = $this->getSchemaClass(); |
||
| 47 | $data = static::$schemas[$schemaId]; |
||
| 48 | /** @var Schema $schema */ |
||
| 49 | $schema = call_user_func([$class, 'deserializeObject'], $data); |
||
| 50 | $schema->getMeta()->setLocation($this->schemasEndpointUrl.$schemaId); |
||
| 51 | |||
| 52 | return $schema; |
||
| 53 | } |
||
| 60 |