src/Parser/Helper/GetData.php 1 location
|
@@ 112-116 (lines=5) @@
|
| 109 |
|
$patternhash = Pattern::getHashForParts($pattern); |
| 110 |
|
$subkey = SubKey::getIniPartCacheSubKey($patternhash); |
| 111 |
|
|
| 112 |
|
if (! $this->cache->hasItem('browscap.iniparts.' . $subkey, true)) { |
| 113 |
|
$this->logger->debug('cache key "browscap.iniparts.' . $subkey . '" not found'); |
| 114 |
|
|
| 115 |
|
return []; |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
$success = null; |
| 119 |
|
$file = $this->cache->getItem('browscap.iniparts.' . $subkey, true, $success); |
src/Parser/Helper/GetPattern.php 1 location
|
@@ 64-68 (lines=5) @@
|
| 61 |
|
foreach ($starts as $tmpStart) { |
| 62 |
|
$tmpSubkey = SubKey::getPatternCacheSubkey($tmpStart); |
| 63 |
|
|
| 64 |
|
if (! $this->cache->hasItem('browscap.patterns.' . $tmpSubkey, true)) { |
| 65 |
|
$this->logger->debug('cache key "browscap.patterns.' . $tmpSubkey . '" not found'); |
| 66 |
|
|
| 67 |
|
continue; |
| 68 |
|
} |
| 69 |
|
$success = null; |
| 70 |
|
|
| 71 |
|
$file = $this->cache->getItem('browscap.patterns.' . $tmpSubkey, true, $success); |