1 | <?php |
||
15 | class BlackholeCacheItemPoolDecorator implements CacheItemPoolInterface |
||
16 | { |
||
17 | /** |
||
18 | * Decorated CacheItemPool implementation. |
||
19 | * |
||
20 | * @var CacheItemPoolInterface |
||
21 | */ |
||
22 | private $cacheItemPool; |
||
23 | |||
24 | public function __construct(CacheItemPoolInterface $cacheItemPool) |
||
28 | 16 | ||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function getItem($key): CacheItemInterface |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function getItems(array $keys = []) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function hasItem($key): bool |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function clear(): bool |
||
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | public function deleteItem($key): bool |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function deleteItems(array $keys): bool |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function save(CacheItemInterface $item): bool |
||
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | public function saveDeferred(CacheItemInterface $item): bool |
||
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | public function commit(): bool |
||
113 | } |
||
114 |