1 | <?php |
||
10 | class MemoryCacheItemPool implements CacheItemPoolInterface { |
||
11 | /** @var array **/ |
||
12 | protected $items; |
||
13 | /** @var array **/ |
||
14 | protected $deferredItems; |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | 2 | public function deleteItem($key) { |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | 1 | public function deleteItems(array $keys) { |
|
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | 9 | public function save(CacheItemInterface $item) { |
|
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | 2 | public function saveDeferred(CacheItemInterface $item) { |
|
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 2 | public function commit() { |
|
68 | |||
69 | /** |
||
70 | * {@inheritdoc} |
||
71 | */ |
||
72 | 13 | public function hasItem($key) { |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 9 | public function getItem($key) { |
|
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | 3 | public function getItems(array $keys = array()) { |
|
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | 1 | public function clear() { |
|
107 | } |