var/cache/dev/ContainerXJup9Rx/getDoctrine_Orm_DefaultEntityManagerService.php line 85

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'doctrine.orm.default_entity_manager' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManager.php';
  7. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManagerInterface.php';
  8. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php';
  9. include_once \dirname(__DIR__4).'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Configuration.php';
  10. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Configuration.php';
  11. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php';
  12. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/FlushableCache.php';
  13. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ClearableCache.php';
  14. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiGetCache.php';
  15. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiDeleteCache.php';
  16. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiPutCache.php';
  17. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/MultiOperationCache.php';
  18. include_once \dirname(__DIR__4).'/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php';
  19. include_once \dirname(__DIR__4).'/vendor/symfony/cache/DoctrineProvider.php';
  20. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriver.php';
  21. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php';
  22. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php';
  23. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php';
  24. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/SimplifiedXmlDriver.php';
  25. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php';
  26. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php';
  27. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileLocator.php';
  28. include_once \dirname(__DIR__4).'/vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php';
  29. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/NamingStrategy.php';
  30. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php';
  31. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/QuoteStrategy.php';
  32. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php';
  33. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/EntityListenerResolver.php';
  34. include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/Mapping/EntityListenerServiceResolver.php';
  35. include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/Mapping/ContainerEntityListenerResolver.php';
  36. include_once \dirname(__DIR__4).'/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/RepositoryFactory.php';
  37. include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php';
  38. include_once \dirname(__DIR__4).'/vendor/doctrine/doctrine-bundle/ManagerConfigurator.php';
  39. $a = new \Doctrine\ORM\Configuration();
  40. $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
  41. $c = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver([(\dirname(__DIR__4).'/vendor/sonata-project/user-bundle/src/Resources/config/doctrine') => 'Sonata\\UserBundle\\Entity', (\dirname(__DIR__4).'/vendor/sonata-project/media-bundle/src/Resources/config/doctrine') => 'Sonata\\MediaBundle\\Entity', (\dirname(__DIR__4).'/src/Application/Sonata/MediaBundle/Resources/config/doctrine') => 'App\\Application\\Sonata\\MediaBundle\\Entity']);
  42. $c->setGlobalBasename('mapping');
  43. $d = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(($this->privates['annotations.cached_reader'] ?? $this->getAnnotations_CachedReaderService()), [=> (\dirname(__DIR__4).'/src/Application/Sonata/UserBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/ContentBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/SecurityBundle/Entity'), => (\dirname(__DIR__4).'/src/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/RealEstateBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/SettingBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/ClientBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/ContactBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/CommunicationBundle/Entity'), => (\dirname(__DIR__4).'/src/Application/Internit/ProposalBundle/Entity'), 10 => (\dirname(__DIR__4).'/src/Application/Internit/RankingBundle/Entity'), 11 => (\dirname(__DIR__4).'/src/Application/Internit/SalesGoalBundle/Entity'), 12 => (\dirname(__DIR__4).'/src/Application/Internit/QuizBundle/Entity'), 13 => (\dirname(__DIR__4).'/src/Application/Internit/RequestKeyBundle/Entity'), 14 => (\dirname(__DIR__4).'/src/Application/Internit/BuilderBundle/Entity'), 15 => (\dirname(__DIR__4).'/src/Application/Internit/LearningResourceBundle/Entity'), 16 => (\dirname(__DIR__4).'/src/Application/Internit/LeadBundle/Entity'), 17 => (\dirname(__DIR__4).'/src/Application/Internit/AgencyBundle/Entity'), 18 => (\dirname(__DIR__4).'/src/Application/Internit/ChatbotLeadBundle/Entity')]);
  44. $b->addDriver($c'Sonata\\UserBundle\\Entity');
  45. $b->addDriver($c'Sonata\\MediaBundle\\Entity');
  46. $b->addDriver($c'App\\Application\\Sonata\\MediaBundle\\Entity');
  47. $b->addDriver($d'App\\Application\\Sonata\\UserBundle\\Entity');
  48. $b->addDriver($d'App\\Application\\Internit\\ContentBundle\\Entity');
  49. $b->addDriver($d'App\\Application\\Internit\\SecurityBundle\\Entity');
  50. $b->addDriver($d'App\\Entity');
  51. $b->addDriver($d'App\\Application\\Internit\\RealEstateBundle\\Entity');
  52. $b->addDriver($d'App\\Application\\Internit\\SettingBundle\\Entity');
  53. $b->addDriver($d'App\\Application\\Internit\\ClientBundle\\Entity');
  54. $b->addDriver($d'App\\Application\\Internit\\ContactBundle\\Entity');
  55. $b->addDriver($d'App\\Application\\Internit\\CommunicationBundle\\Entity');
  56. $b->addDriver($d'App\\Application\\Internit\\ProposalBundle\\Entity');
  57. $b->addDriver($d'App\\Application\\Internit\\RankingBundle\\Entity');
  58. $b->addDriver($d'App\\Application\\Internit\\SalesGoalBundle\\Entity');
  59. $b->addDriver($d'App\\Application\\Internit\\QuizBundle\\Entity');
  60. $b->addDriver($d'App\\Application\\Internit\\RequestKeyBundle\\Entity');
  61. $b->addDriver($d'App\\Application\\Internit\\BuilderBundle\\Entity');
  62. $b->addDriver($d'App\\Application\\Internit\\LearningResourceBundle\\Entity');
  63. $b->addDriver($d'App\\Application\\Internit\\LeadBundle\\Entity');
  64. $b->addDriver($d'App\\Application\\Internit\\AgencyBundle\\Entity');
  65. $b->addDriver($d'App\\Application\\Internit\\ChatbotLeadBundle\\Entity');
  66. $b->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator([(\dirname(__DIR__4).'/vendor/friendsofsymfony/user-bundle/Resources/config/doctrine-mapping') => 'FOS\\UserBundle\\Model'], '.orm.xml')), 'FOS\\UserBundle\\Model');
  67. $a->setEntityNamespaces(['SonataUserBundle' => 'Sonata\\UserBundle\\Entity''SonataMediaBundle' => 'Sonata\\MediaBundle\\Entity''ApplicationSonataMediaBundle' => 'App\\Application\\Sonata\\MediaBundle\\Entity''ApplicationSonataUserBundle' => 'App\\Application\\Sonata\\UserBundle\\Entity''ApplicationInternitContentBundle' => 'App\\Application\\Internit\\ContentBundle\\Entity''ApplicationInternitSecurityBundle' => 'App\\Application\\Internit\\SecurityBundle\\Entity''App' => 'App\\Entity''ApplicationInternitRealEstateBundle' => 'App\\Application\\Internit\\RealEstateBundle\\Entity''ApplicationInternitSettingBundle' => 'App\\Application\\Internit\\SettingBundle\\Entity''ApplicationInternitClientBundle' => 'App\\Application\\Internit\\ClientBundle\\Entity''ApplicationInternitContactBundle' => 'App\\Application\\Internit\\ContactBundle\\Entity''ApplicationInternitCommunicationBundle' => 'App\\Application\\Internit\\CommunicationBundle\\Entity''ApplicationInternitProposalBundle' => 'App\\Application\\Internit\\ProposalBundle\\Entity''ApplicationInternitRankingBundle' => 'App\\Application\\Internit\\RankingBundle\\Entity''ApplicationInternitSalesGoalBundle' => 'App\\Application\\Internit\\SalesGoalBundle\\Entity''ApplicationInternitQuizBundle' => 'App\\Application\\Internit\\QuizBundle\\Entity''ApplicationInternitRequestKeyBundle' => 'App\\Application\\Internit\\RequestKeyBundle\\Entity''ApplicationInternitBuilderBundle' => 'App\\Application\\Internit\\BuilderBundle\\Entity''ApplicationInternitLearningResourceBundle' => 'App\\Application\\Internit\\LearningResourceBundle\\Entity''ApplicationInternitLeadBundle' => 'App\\Application\\Internit\\LeadBundle\\Entity''ApplicationInternitAgencyBundle' => 'App\\Application\\Internit\\AgencyBundle\\Entity''ApplicationInternitChatbotLeadBundle' => 'App\\Application\\Internit\\ChatbotLeadBundle\\Entity']);
  68. $a->setMetadataCacheImpl(new \Symfony\Component\Cache\DoctrineProvider(($this->services['cache.doctrine.orm.default.metadata'] ?? $this->getCache_Doctrine_Orm_Default_MetadataService())));
  69. $a->setQueryCacheImpl(new \Symfony\Component\Cache\DoctrineProvider(($this->services['cache.doctrine.orm.default.query'] ?? $this->getCache_Doctrine_Orm_Default_QueryService())));
  70. $a->setResultCacheImpl(new \Symfony\Component\Cache\DoctrineProvider(($this->services['cache.doctrine.orm.default.result'] ?? $this->getCache_Doctrine_Orm_Default_ResultService())));
  71. $a->setMetadataDriverImpl($b);
  72. $a->setProxyDir(($this->targetDir.''.'/doctrine/orm/Proxies'));
  73. $a->setProxyNamespace('Proxies');
  74. $a->setAutoGenerateProxyClasses(true);
  75. $a->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
  76. $a->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
  77. $a->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
  78. $a->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
  79. $a->setEntityListenerResolver(new \Doctrine\Bundle\DoctrineBundle\Mapping\ContainerEntityListenerResolver($this));
  80. $a->setRepositoryFactory(new \Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($this->getService, [
  81.     'App\\Application\\Internit\\SecurityBundle\\Repository\\HierarchyRepository' => ['privates''App\\Application\\Internit\\SecurityBundle\\Repository\\HierarchyRepository''getHierarchyRepositoryService.php'true],
  82.     'App\\Application\\Internit\\SettingBundle\\Repository\\SettingRepository' => ['privates''App\\Application\\Internit\\SettingBundle\\Repository\\SettingRepository''getSettingRepositoryService.php'true],
  83. ], [
  84.     'App\\Application\\Internit\\SecurityBundle\\Repository\\HierarchyRepository' => '?',
  85.     'App\\Application\\Internit\\SettingBundle\\Repository\\SettingRepository' => '?',
  86. ])));
  87. $a->addCustomStringFunction('DATE''DoctrineExtensions\\Query\\Mysql\\Date');
  88. $a->addCustomStringFunction('MONTH''DoctrineExtensions\\Query\\Mysql\\Month');
  89. $a->addCustomStringFunction('YEAR''DoctrineExtensions\\Query\\Mysql\\Year');
  90. $a->addCustomStringFunction('FORMAT''DoctrineExtensions\\Query\\Mysql\\Format');
  91. $a->addCustomStringFunction('REPLACE''DoctrineExtensions\\Query\\Mysql\\Replace');
  92. $a->addCustomStringFunction('DATE_FORMAT''DoctrineExtensions\\Query\\Mysql\\DateFormat');
  93. $a->addCustomNumericFunction('RAND''DoctrineExtensions\\Query\\Mysql\\Rand');
  94. $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create(($this->services['doctrine.dbal.default_connection'] ?? $this->load('getDoctrine_Dbal_DefaultConnectionService.php')), $a);
  95. (new \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator([], []))->configure($instance);
  96. return $instance;