| Total Complexity | 6 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | final class ApcuStorage implements StorageInterface |
||
| 10 | { |
||
| 11 | public function __construct() |
||
| 15 | } |
||
| 16 | } |
||
| 17 | |||
| 18 | public function saveIfNotExists(string $key, int $value, int $ttl): bool |
||
| 21 | } |
||
| 22 | |||
| 23 | public function saveCompareAndSwap(string $key, int $oldValue, int $newValue, int $ttl): bool |
||
| 26 | } |
||
| 27 | |||
| 28 | public function get(string $key): mixed |
||
| 33 |