| Total Complexity | 6 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 57.14% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class Configuration implements ConfigurationInterface |
||
| 17 | { |
||
| 18 | private array $properties; |
||
| 19 | |||
| 20 | 2 | public function __construct(array $properties) |
|
| 21 | { |
||
| 22 | 2 | $this->properties = $properties; |
|
| 23 | 2 | } |
|
| 24 | |||
| 25 | public function jsonSerialize(): array |
||
| 26 | { |
||
| 27 | return $this->properties; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function offsetExists($offset): bool |
||
| 33 | } |
||
| 34 | |||
| 35 | 1 | public function offsetGet($offset) |
|
| 36 | { |
||
| 37 | 1 | return $this->properties[$offset]; |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function offsetSet($offset, $value): void |
|
| 43 | 1 | } |
|
| 44 | |||
| 45 | public function offsetUnset($offset): void |
||
| 48 | } |
||
| 49 | } |
||
| 50 |