1 | <?php |
||
13 | class BlackholeCacheItemPoolDecorator implements CacheItemPoolInterface |
||
14 | { |
||
15 | /** |
||
16 | * Decorated CacheItemPool implementation. |
||
17 | * |
||
18 | * @var CacheItemPoolInterface |
||
19 | */ |
||
20 | private $cacheItemPool; |
||
21 | |||
22 | /** |
||
23 | * @param CacheItemPoolInterface $cacheItemPool |
||
24 | */ |
||
25 | public function __construct(CacheItemPoolInterface $cacheItemPool) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function getItem($key) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getItems(array $keys = array()) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function hasItem($key) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function clear() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function deleteItem($key) |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function deleteItems(array $keys) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function save(CacheItemInterface $item) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function saveDeferred(CacheItemInterface $item) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function commit() |
||
114 | } |
||
115 |