1 | <?php |
||
10 | class TextCacheItemPool implements CacheItemPoolInterface { |
||
11 | /** @var array **/ |
||
12 | protected $deferredItems; |
||
13 | /** @var string **/ |
||
14 | protected $cacheFolder; |
||
15 | |||
16 | /** |
||
17 | * @param array $options |
||
18 | */ |
||
19 | 10 | public function __construct($options = []) { |
|
22 | |||
23 | /** |
||
24 | * @param array $options |
||
25 | */ |
||
26 | 10 | protected function configure($options) { |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 2 | public function deleteItem($key) { |
|
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 1 | public function deleteItems(array $keys) { |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | 9 | public function save(CacheItemInterface $item) { |
|
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | 2 | public function saveDeferred(CacheItemInterface $item) { |
|
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | 2 | public function commit() { |
|
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | 10 | public function hasItem($key) { |
|
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | 6 | public function getItem($key) { |
|
111 | |||
112 | /** |
||
113 | * {@inheritdoc} |
||
114 | */ |
||
115 | 2 | public function getItems(array $keys = array()) { |
|
124 | |||
125 | /** |
||
126 | * {@inheritdoc} |
||
127 | */ |
||
128 | 10 | public function clear() { |
|
137 | } |
||
138 |