| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class RuntimeCache implements Cache |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array<string, mixed> |
||
| 11 | */ |
||
| 12 | private array $cache = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @inheritDoc |
||
| 16 | */ |
||
| 17 | public function get(string $path): ?array |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @inheritDoc |
||
| 24 | */ |
||
| 25 | public function set(string $path, array $data): void |
||
| 30 |