| Total Complexity | 4 | 
| Total Lines | 19 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | final class SimpleCacheStorage implements StorageInterface | ||
| 10 | { | ||
| 11 | 10 | public function __construct(private CacheInterface $cache) | |
| 13 | 10 | } | |
| 14 | |||
| 15 | 6 | public function saveIfNotExists(string $key, int $value, int $ttl): bool | |
| 18 | } | ||
| 19 | |||
| 20 | 7 | public function saveCompareAndSwap(string $key, int $oldValue, int $newValue, int $ttl): bool | |
| 23 | } | ||
| 24 | |||
| 25 | public function get(string $key): mixed | ||
| 30 |