PhpBackend::storage

protected 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 251

Class

PhpBackend
Defines a PHP cache implementation.

Namespace

Drupal\Core\Cache

Code

protected function storage() {
  if (!isset($this->storage)) {
    $this->storage = PhpStorageFactory::get($this->bin);
  }
  return $this->storage;
}
doc_Drupal
2016-10-29 09:33:56
Comments
Leave a Comment

Please login to continue.