src/Comodojo/Cache/Providers/AbstractEnhancedProvider.php 1 location
|
@@ 284-297 (lines=14) @@
|
| 281 |
|
|
| 282 |
|
} |
| 283 |
|
|
| 284 |
|
private function checkQueueNamespace($create = false) { |
| 285 |
|
|
| 286 |
|
$namespace = $this->getNamespace(); |
| 287 |
|
|
| 288 |
|
if ( array_key_exists($namespace, $this->queue) ) { |
| 289 |
|
return true; |
| 290 |
|
} else if ( $create ) { |
| 291 |
|
$this->queue[$namespace] = []; |
| 292 |
|
return true; |
| 293 |
|
} else { |
| 294 |
|
return false; |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
} |
| 298 |
|
|
| 299 |
|
} |
| 300 |
|
|
src/Comodojo/Cache/Traits/BasicCacheItemPoolTrait.php 1 location
|
@@ 93-106 (lines=14) @@
|
| 90 |
|
|
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
private function checkQueueNamespace($create = false) { |
| 94 |
|
|
| 95 |
|
$namespace = $this->getNamespace(); |
| 96 |
|
|
| 97 |
|
if ( array_key_exists($namespace, $this->queue) ) { |
| 98 |
|
return true; |
| 99 |
|
} else if ( $create ) { |
| 100 |
|
$this->queue[$namespace] = []; |
| 101 |
|
return true; |
| 102 |
|
} else { |
| 103 |
|
return false; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
} |
| 107 |
|
|
| 108 |
|
} |
| 109 |
|
|