You are here

public function DrupalKernelInterface::getContainer in Zircon Profile 8

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

Gets the current container.

Return value

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

1 method overrides DrupalKernelInterface::getContainer()
DrupalKernel::getContainer in core/lib/Drupal/Core/DrupalKernel.php
Gets the current container.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 59
Contains \Drupal\Core\DrupalKernelInterface.

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getContainer();