1 | <?php |
||
16 | class DefaultCacheAdapter implements CacheItemPoolInterface |
||
17 | { |
||
18 | /** @var CacheItemPoolInterface */ |
||
19 | private $defaultAdapter; |
||
20 | |||
21 | 7 | public function __construct(CacheItemPoolInterface $cacheItemPool) |
|
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | 1 | public function getItem($key) |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 1 | public function getItems(array $keys = []) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 1 | public function clear() |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 1 | public function deleteItems(array $keys) |
|
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 1 | public function save(CacheItemInterface $item) |
|
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | 1 | public function saveDeferred(CacheItemInterface $item) |
|
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | 1 | public function commit() |
|
81 | } |
||
82 |