var/cache/dev/Container7WJ2V3o/getDoctrine_Dbal_DefaultConnectionService.php line 18

Open in your IDE?
  1. <?php
  2. namespace Container7WJ2V3o;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getDoctrine_Dbal_DefaultConnectionService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'doctrine.dbal.default_connection' shared service.
  12.      *
  13.      * @return \Doctrine\DBAL\Connection
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Connection.php';
  18.         include_once \dirname(__DIR__4).'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php';
  19.         include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/ConnectionFactory.php';
  20.         include_once \dirname(__DIR__4).'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Configuration.php';
  21.         include_once \dirname(__DIR__4).'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Logging/LoggerChain.php';
  22.         include_once \dirname(__DIR__4).'/vendor/symfony/doctrine-bridge/Logger/DbalLogger.php';
  23.         include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/Dbal/SchemaAssetsFilterManager.php';
  24.         include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/Dbal/RegexSchemaAssetFilter.php';
  25.         include_once \dirname(__DIR__4).'/vendor/doctrine/event-manager/src/EventManager.php';
  26.         include_once \dirname(__DIR__4).'/vendor/symfony/doctrine-bridge/ContainerAwareEventManager.php';
  27.         $a = new \Doctrine\DBAL\Configuration();
  28.         $b = new \Symfony\Bridge\Monolog\Logger('doctrine');
  29.         $b->pushProcessor(($container->privates['debug.log_processor'] ?? $container->getDebug_LogProcessorService()));
  30.         $b->pushHandler(($container->privates['monolog.handler.main'] ?? $container->getMonolog_Handler_MainService()));
  31.         \Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddDebugLogProcessorPass::configureLogger($b);
  32.         $a->setSQLLogger(new \Doctrine\DBAL\Logging\LoggerChain([=> new \Symfony\Bridge\Doctrine\Logger\DbalLogger($b, ($container->privates['debug.stopwatch'] ?? ($container->privates['debug.stopwatch'] = new \Symfony\Component\Stopwatch\Stopwatch(true)))), => ($container->privates['doctrine.dbal.logger.profiling.default'] ?? ($container->privates['doctrine.dbal.logger.profiling.default'] = new \Doctrine\DBAL\Logging\DebugStack()))]));
  33.         $a->setSchemaAssetsFilter(new \Doctrine\Bundle\DoctrineBundle\Dbal\SchemaAssetsFilterManager([=> new \Doctrine\Bundle\DoctrineBundle\Dbal\RegexSchemaAssetFilter('~^(?!prsta_accessory|prsta_customer_message_sync_imap|prsta_gsitemap_sitemap|prsta_linksmenutop_lang|prsta_order_detail_tax|prsta_order_invoice_tax|prsta_order_slip_detail_tax)~')]));
  34.         return $container->services['doctrine.dbal.default_connection'] = (new \Doctrine\Bundle\DoctrineBundle\ConnectionFactory([]))->createConnection(['url' => $container->getEnv('resolve:DATABASE_URL'), 'driver' => 'pdo_mysql''host' => 'localhost''port' => NULL'user' => 'root''password' => NULL'driverOptions' => [], 'defaultTableOptions' => []], $a, new \Symfony\Bridge\Doctrine\ContainerAwareEventManager(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [
  35.             'App\\Doctrine\\TablePrefix' => ['privates''App\\Doctrine\\TablePrefix''getTablePrefixService'true],
  36.             'doctrine.orm.default_listeners.attach_entity_listeners' => ['privates''doctrine.orm.default_listeners.attach_entity_listeners''getDoctrine_Orm_DefaultListeners_AttachEntityListenersService'true],
  37.             'doctrine.orm.listeners.doctrine_dbal_cache_adapter_schema_subscriber' => ['privates''doctrine.orm.listeners.doctrine_dbal_cache_adapter_schema_subscriber''getDoctrine_Orm_Listeners_DoctrineDbalCacheAdapterSchemaSubscriberService'true],
  38.             'doctrine.orm.listeners.doctrine_token_provider_schema_subscriber' => ['privates''doctrine.orm.listeners.doctrine_token_provider_schema_subscriber''getDoctrine_Orm_Listeners_DoctrineTokenProviderSchemaSubscriberService'true],
  39.             'doctrine.orm.listeners.pdo_cache_adapter_doctrine_schema_subscriber' => ['privates''doctrine.orm.listeners.pdo_cache_adapter_doctrine_schema_subscriber''getDoctrine_Orm_Listeners_PdoCacheAdapterDoctrineSchemaSubscriberService'true],
  40.         ], [
  41.             'App\\Doctrine\\TablePrefix' => '?',
  42.             'doctrine.orm.default_listeners.attach_entity_listeners' => '?',
  43.             'doctrine.orm.listeners.doctrine_dbal_cache_adapter_schema_subscriber' => '?',
  44.             'doctrine.orm.listeners.doctrine_token_provider_schema_subscriber' => '?',
  45.             'doctrine.orm.listeners.pdo_cache_adapter_doctrine_schema_subscriber' => '?',
  46.         ]), [=> 'App\\Doctrine\\TablePrefix'=> 'doctrine.orm.listeners.doctrine_dbal_cache_adapter_schema_subscriber'=> 'doctrine.orm.listeners.pdo_cache_adapter_doctrine_schema_subscriber'=> 'doctrine.orm.listeners.doctrine_token_provider_schema_subscriber'=> [=> [=> 'loadClassMetadata'], => 'doctrine.orm.default_listeners.attach_entity_listeners']]), ['enum' => 'string']);
  47.     }
  48. }