1 | <?php |
||
10 | class TextCacheItemPool implements CacheItemPoolInterface |
||
11 | { |
||
12 | /** @var array **/ |
||
13 | protected $deferredItems; |
||
14 | /** @var string **/ |
||
15 | protected $cacheFolder; |
||
16 | |||
17 | /** |
||
18 | * @param array $options |
||
19 | */ |
||
20 | 10 | public function __construct($options = []) |
|
24 | |||
25 | /** |
||
26 | * @param array $options |
||
27 | */ |
||
28 | 10 | protected function configure($options) |
|
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 2 | public function deleteItem($key) |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 1 | public function deleteItems(array $keys) |
|
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | 9 | public function save(CacheItemInterface $item) |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 2 | public function saveDeferred(CacheItemInterface $item) |
|
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | 2 | public function commit() |
|
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | 10 | public function hasItem($key) |
|
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | 6 | public function getItem($key) |
|
121 | |||
122 | /** |
||
123 | * {@inheritdoc} |
||
124 | */ |
||
125 | 2 | public function getItems(array $keys = array()) |
|
135 | |||
136 | /** |
||
137 | * {@inheritdoc} |
||
138 | */ |
||
139 | 10 | public function clear() |
|
150 | } |
||
151 |