Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class WopiConfiguration implements WopiConfigurationInterface |
||
15 | { |
||
16 | private array $properties; |
||
17 | |||
18 | public function __construct(array $properties) |
||
21 | } |
||
22 | |||
23 | public function jsonSerialize(): array |
||
24 | { |
||
25 | return $this->properties; |
||
26 | } |
||
27 | |||
28 | public function offsetExists($offset) |
||
29 | { |
||
30 | return array_key_exists($offset, $this->properties); |
||
31 | } |
||
32 | |||
33 | public function offsetGet($offset) |
||
34 | { |
||
35 | return $this->properties[$offset]; |
||
36 | } |
||
37 | |||
38 | public function offsetSet($offset, $value) |
||
39 | { |
||
40 | $this->properties[$offset] = $value; |
||
41 | } |
||
42 | |||
43 | public function offsetUnset($offset) |
||
46 | } |
||
47 | } |
||
48 |