public function BoostCache::retrieve in Boost 8
Retrieve Boost cache file.
File
- src/
BoostCache.php, line 73 - Contains Drupal\boost\BoostCache
Class
- BoostCache
- The BoostCache class.
Namespace
Drupal\boostCode
public function retrieve() {
$uri = $this->route
->getUri();
if (!file_exists($uri)) {
$this->logger
->notice('Route @uri not cached.', array(
'@uri' => $uri,
));
return false;
}
return $this->handler
->getCache($uri);
}