You are here

public function Kernel::getContainer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Kernel.php \Symfony\Component\HttpKernel\Kernel::getContainer()

Gets the current container.

Return value

ContainerInterface A ContainerInterface instance

Overrides KernelInterface::getContainer

File

vendor/symfony/http-kernel/Kernel.php, line 342

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

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