/** * @return ContainerInterface */ protected function getContainer() { if ($this->app === null) { $this->app = $this->createApplication(); $this->app->boot(); } return $this->app->getContainer(); }
/** * @return array */ public function getConfiguration() { return $this->app->getContainer()->getParameter('packages.configuration'); }