protected function getContainer() { if (!$this->container) { /** @var ContainerInterface $container */ $this->container = (require 'config/container.php'); } return $this->container; }