src/Comodojo/Cache/Providers/AbstractEnhancedProvider.php 1 location
|
@@ 295-308 (lines=14) @@
|
| 292 |
|
|
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
private function checkQueueNamespace($create = false) { |
| 296 |
|
|
| 297 |
|
$namespace = $this->getNamespace(); |
| 298 |
|
|
| 299 |
|
if ( array_key_exists($namespace, $this->queue) ) { |
| 300 |
|
return true; |
| 301 |
|
} else if ( $create ) { |
| 302 |
|
$this->queue[$namespace] = []; |
| 303 |
|
return true; |
| 304 |
|
} else { |
| 305 |
|
return false; |
| 306 |
|
} |
| 307 |
|
|
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
} |
| 311 |
|
|
src/Comodojo/Cache/Traits/BasicCacheItemPoolTrait.php 1 location
|
@@ 91-104 (lines=14) @@
|
| 88 |
|
|
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
private function checkQueueNamespace($create = false) { |
| 92 |
|
|
| 93 |
|
$namespace = $this->getNamespace(); |
| 94 |
|
|
| 95 |
|
if ( array_key_exists($namespace, $this->queue) ) { |
| 96 |
|
return true; |
| 97 |
|
} else if ( $create ) { |
| 98 |
|
$this->queue[$namespace] = []; |
| 99 |
|
return true; |
| 100 |
|
} else { |
| 101 |
|
return false; |
| 102 |
|
} |
| 103 |
|
|
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
} |
| 107 |
|
|