| 1 | <?php |
||
| 15 | class DoctrineCacheStorage extends AbstractAdapter |
||
| 16 | { |
||
| 17 | /** @var Cache */ |
||
| 18 | protected $cache; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | * |
||
| 23 | * @param Cache $cache |
||
| 24 | */ |
||
| 25 | 54 | public function __construct($options, Cache $cache) |
|
| 26 | { |
||
| 27 | 54 | parent::__construct($options); |
|
| 28 | |||
| 29 | 54 | $this->cache = $cache; |
|
| 30 | 54 | } |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritDoc} |
||
| 34 | */ |
||
| 35 | 34 | protected function internalGetItem(&$normalizedKey, &$success = null, &$casToken = null) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritDoc} |
||
| 52 | */ |
||
| 53 | 35 | protected function internalSetItem(&$normalizedKey, &$value) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * {@inheritDoc} |
||
| 63 | */ |
||
| 64 | 6 | protected function internalRemoveItem(&$normalizedKey) |
|
| 73 | } |
||
| 74 |