You are here

public function DrupalKernel::getContainer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getContainer()

Gets the current container.

Return value

\Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance.

Overrides DrupalKernelInterface::getContainer

3 calls to DrupalKernel::getContainer()
UpdateKernel::bootSession in core/lib/Drupal/Core/Update/UpdateKernel.php
Boots up the session.
UpdateKernel::handle in core/lib/Drupal/Core/Update/UpdateKernel.php
Handles a Request to convert it to a Response.
UpdateKernel::handleRaw in core/lib/Drupal/Core/Update/UpdateKernel.php
Generates the actual result of update.php.

File

core/lib/Drupal/Core/DrupalKernel.php, line 470
Contains \Drupal\Core\DrupalKernel.

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function getContainer() {
  return $this->container;
}