src/Doctrine/DI/DoctrineExtension.php
private function processConnection()
	{
		$builder = $this->getContainerBuilder();

		$connection = $builder->addDefinition($this->prefix('connection'))
			->setClass(Connection::class)
			->setFactory(DriverManager::class . '::getConnection', [$this->config['connection']]);
	}
private function processConnection()
	{
		$builder = $this->getContainerBuilder();

		$connection = $builder->addDefinition($this->prefix('connection'))
			->setClass(Connection::class)
			->setFactory(DriverManager::class . '::getConnection', [$this->config['connection']]);
	}
private function processConnection ( ) { $ builder = $ this -> getContainerBuilder ( ) ; $ connection = $ builder -> addDefinition ( $ this -> prefix ( 'connection' ) ) -> setClass ( Connection :: class ) -> setFactory ( DriverManager :: class . '::getConnection' , [ $ this -> config [ 'connection' ] ] ) ; }
Registers DBAL connection.
Registers DBAL connection .