Overrides KernelInterface::getContainer
public function getContainer() : ContainerInterface { if (!$this->container) { throw new \LogicException('Cannot retrieve the container from a non-booted kernel.'); } return $this->container; }