protected function DrupalKernel::storage

Gets the PHP code storage object to use for the compiled container.

Return value

\Drupal\Component\PhpStorage\PhpStorageInterface

File

drupal/core/lib/Drupal/Core/DrupalKernel.php, line 518
Definition of Drupal\Core\DrupalKernel.

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function storage() {
  if (!isset($this->storage)) {
    $this->storage = PhpStorageFactory::get('service_container');
  }
  return $this->storage;
}