| Total Complexity | 5 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class ApcuCache implements OfflineStorage |
||
| 8 | { |
||
| 9 | /** Just check the precondition - APCu must be installed */ |
||
| 10 | public function __construct() { |
||
| 11 | if (function_exists('apcu_fetch') === false) |
||
| 12 | throw new ApcuNotInstalled(); |
||
| 13 | } |
||
| 14 | |||
| 15 | /** {@inheritdoc} */ |
||
| 16 | public function fetch(string $key) { |
||
| 18 | } |
||
| 19 | |||
| 20 | /** {@inheritdoc} */ |
||
| 21 | public function store(string $key, $value) { |
||
| 23 | } |
||
| 24 | } |