| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Context implements ContextInterface |
||
| 8 | { |
||
| 9 | private $contextList = []; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * {@inheritDoc} |
||
| 13 | */ |
||
| 14 | 1 | public function add(string $key, string $value): void |
|
| 17 | 1 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritDoc} |
||
| 21 | */ |
||
| 22 | 2 | public function set(array $context): void |
|
| 23 | { |
||
| 24 | 2 | $this->contextList = $context; |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | 1 | public function getList(): array |
|
| 33 | } |
||
| 34 | } |
||
| 35 |