protected function PhpBackend::storage in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Cache/PhpBackend.php \Drupal\Core\Cache\PhpBackend::storage()
Gets the PHP code storage object to use.
Return value
\Drupal\Component\PhpStorage\PhpStorageInterface
File
- core/
lib/ Drupal/ Core/ Cache/ PhpBackend.php, line 253
Class
- PhpBackend
- Defines a PHP cache implementation.
Namespace
Drupal\Core\CacheCode
protected function storage() {
if (!isset($this->storage)) {
$this->storage = PhpStorageFactory::get($this->bin);
}
return $this->storage;
}