public function Kernel::getContainer

Gets the current container.

@api

Return value

ContainerInterface A ContainerInterface instance

Overrides KernelInterface::getContainer

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 412

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

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