| 1 | <?php |
||
| 11 | class ZendCacheAdapter implements CacheInterface |
||
| 12 | { |
||
| 13 | |||
| 14 | /** @var StorageInterface */ |
||
| 15 | protected $zendCache; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Constructor |
||
| 19 | * |
||
| 20 | * @param StorageInterface $zendCache Zend Configured Cache Storage |
||
| 21 | */ |
||
| 22 | 5 | public function __construct(StorageInterface $zendCache) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritDoc} |
||
| 29 | */ |
||
| 30 | 1 | public function has($key) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritDoc} |
||
| 37 | */ |
||
| 38 | 1 | public function get($key) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritDoc} |
||
| 45 | */ |
||
| 46 | 1 | public function set($key, $value) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritDoc} |
||
| 53 | */ |
||
| 54 | 1 | public function remove($key) |
|
| 58 | } |
||
| 59 |