src/Comodojo/Cache/Traits/BasicCacheItemPoolTrait.php 1 location
|
@@ 55-65 (lines=11) @@
|
| 52 |
|
|
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
public function saveDeferred(CacheItemInterface $item) { |
| 56 |
|
|
| 57 |
|
$this->checkQueueNamespace(true); |
| 58 |
|
|
| 59 |
|
$namespace = $this->getNamespace(); |
| 60 |
|
|
| 61 |
|
$this->queue[$namespace][$item->getKey()] = $item; |
| 62 |
|
|
| 63 |
|
return true; |
| 64 |
|
|
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
public function commit() { |
| 68 |
|
|
src/Comodojo/Cache/Providers/AbstractEnhancedProvider.php 1 location
|
@@ 259-269 (lines=11) @@
|
| 256 |
|
|
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
public function saveDeferred(CacheItemInterface $item) { |
| 260 |
|
|
| 261 |
|
$this->checkQueueNamespace(true); |
| 262 |
|
|
| 263 |
|
$namespace = $this->getNamespace(); |
| 264 |
|
|
| 265 |
|
$this->queue[$namespace][$item->getKey()] = $item; |
| 266 |
|
|
| 267 |
|
return true; |
| 268 |
|
|
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
public function commit() { |
| 272 |
|
|