1 | <?php |
||
10 | class MemoryCacheItemPool implements CacheItemPoolInterface |
||
11 | { |
||
12 | /** @var array **/ |
||
13 | protected $items; |
||
14 | /** @var array **/ |
||
15 | protected $deferredItems; |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | 2 | public function deleteItem($key) |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 1 | public function deleteItems(array $keys) |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 9 | public function save(CacheItemInterface $item) |
|
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | 2 | public function saveDeferred(CacheItemInterface $item) |
|
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | 2 | public function commit() |
|
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | 13 | public function hasItem($key) |
|
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | 9 | public function getItem($key) |
|
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | 3 | public function getItems(array $keys = array()) |
|
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | 1 | public function clear() |
|
117 | } |
||
118 |