/** * @return string */ public function getTableName() { if (null === $this->tableName) { $this->tableName = $this->config->get('doctrine.alias.email_queue'); } return $this->tableName; }
/** * @param Config $config */ public function avoidAutoloadCollision(Config $config) { foreach ($config->get('doctrine.connections') as $config) { if (isset($config['paths'])) { foreach ($config['paths'] as $path) { $this->loadPath($path); } } } }
/** * @return Config */ public function getConfig() { if (null === $this->getContainer()->get('config')) { $this->getContainer()->set('config', Config::factory()); } return $this->getContainer()->get('config'); }