Slide 19
Slide 19 text
@nicolasgrekas
var/cache/…/srcApp...Container.php
/**
* Gets the public 'doctrine.dbal.default_connection' shared service.
*
* @return \Doctrine\DBAL\Connection
*/
protected function getDoctrine_Dbal_DefaultConnectionService()
{
// ...
return $this->services['doctrine.dbal.default_connection'] =
(new \Doctrine\Bundle\DoctrineBundle\ConnectionFactory([]))
->createConnection([
'driver' => 'pdo_sqlite',
'charset' => 'utf8mb4',
'url' => $this->getEnv('resolve:DATABASE_URL'),
'host' => 'localhost',
'port' => NULL,
'user' => 'root',
'password' => NULL,
'driverOptions' => [],
'serverVersion' => '3.15',