src/Comodojo/Cache/Traits/BasicCacheItemPoolTrait.php 1 location
|
@@ 53-63 (lines=11) @@
|
| 50 |
|
|
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
public function saveDeferred(CacheItemInterface $item) { |
| 54 |
|
|
| 55 |
|
$this->checkQueueNamespace(true); |
| 56 |
|
|
| 57 |
|
$namespace = $this->getNamespace(); |
| 58 |
|
|
| 59 |
|
$this->queue[$namespace][$item->getKey()] = $item; |
| 60 |
|
|
| 61 |
|
return true; |
| 62 |
|
|
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
public function commit() { |
| 66 |
|
|
src/Comodojo/Cache/Providers/AbstractEnhancedProvider.php 1 location
|
@@ 290-300 (lines=11) @@
|
| 287 |
|
/** |
| 288 |
|
* {@inheritdoc} |
| 289 |
|
*/ |
| 290 |
|
public function saveDeferred(CacheItemInterface $item) { |
| 291 |
|
|
| 292 |
|
$this->checkQueueNamespace(true); |
| 293 |
|
|
| 294 |
|
$namespace = $this->getNamespace(); |
| 295 |
|
|
| 296 |
|
$this->queue[$namespace][$item->getKey()] = $item; |
| 297 |
|
|
| 298 |
|
return true; |
| 299 |
|
|
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
/** |
| 303 |
|
* {@inheritdoc} |