1 | <?php |
||
11 | class CacheItemPool implements CacheItemPoolInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \Illuminate\Contracts\Cache\Repository |
||
15 | */ |
||
16 | private $repository; |
||
17 | |||
18 | /** |
||
19 | * @var \Psr\Cache\CacheItemInterface[] |
||
20 | */ |
||
21 | private $deferred = []; |
||
22 | |||
23 | /** |
||
24 | * @param \Illuminate\Contracts\Cache\Repository $repository |
||
25 | */ |
||
26 | 140 | public function __construct(Repository $repository) |
|
30 | |||
31 | /** |
||
32 | * Destructor. |
||
33 | */ |
||
34 | 22 | public function __destruct() |
|
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 75 | public function getItem($key) |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function getItems(array $keys = array()) |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | 31 | public function hasItem($key) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 121 | public function clear() |
|
101 | |||
102 | /** |
||
103 | * {@inheritdoc} |
||
104 | */ |
||
105 | 24 | public function deleteItem($key) |
|
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | 21 | public function deleteItems(array $keys) |
|
136 | |||
137 | /** |
||
138 | * {@inheritdoc} |
||
139 | */ |
||
140 | 34 | public function save(CacheItemInterface $item) |
|
167 | |||
168 | /** |
||
169 | * {@inheritdoc} |
||
170 | */ |
||
171 | 11 | public function saveDeferred(CacheItemInterface $item) |
|
185 | |||
186 | /** |
||
187 | * {@inheritdoc} |
||
188 | */ |
||
189 | 30 | public function commit() |
|
201 | |||
202 | /** |
||
203 | * @param string $key |
||
204 | * |
||
205 | * @throws \Psr\Cache\InvalidArgumentException |
||
206 | */ |
||
207 | 134 | private function validateKey($key) |
|
213 | } |
||
214 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.