var/cache/dev/ContainerCABm9vm/getDoctrine_Orm_DefaultConfigurationService.php line 49

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 private 'doctrine.orm.default_configuration' shared service.
  6. include_once $this->targetDirs[3].'/vendor/doctrine/dbal/lib/Doctrine/DBAL/Configuration.php';
  7. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Configuration.php';
  8. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/MappingDriver.php';
  9. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/MappingDriverChain.php';
  10. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/AnnotationDriver.php';
  11. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php';
  12. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/FileDriver.php';
  13. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php';
  14. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/FileLocator.php';
  15. include_once $this->targetDirs[3].'/vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/SymfonyFileLocator.php';
  16. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/NamingStrategy.php';
  17. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php';
  18. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/QuoteStrategy.php';
  19. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php';
  20. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/EntityListenerResolver.php';
  21. include_once $this->targetDirs[3].'/vendor/doctrine/doctrine-bundle/Mapping/EntityListenerServiceResolver.php';
  22. include_once $this->targetDirs[3].'/vendor/doctrine/doctrine-bundle/Mapping/ContainerEntityListenerResolver.php';
  23. include_once $this->targetDirs[3].'/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/RepositoryFactory.php';
  24. include_once $this->targetDirs[3].'/vendor/doctrine/doctrine-bundle/Repository/ContainerRepositoryFactory.php';
  25. $this->privates['doctrine.orm.default_configuration'] = $instance = new \Doctrine\ORM\Configuration();
  26. $a = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
  27. $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(($this->privates['annotations.cached_reader'] ?? $this->getAnnotations_CachedReaderService()), [=> ($this->targetDirs[3].'/src/Entity'), => ($this->targetDirs[3].'/vendor/vich/uploader-bundle/Entity')]);
  28. $a->addDriver($b'App\\Entity');
  29. $a->addDriver($b'Vich\\UploaderBundle\\Entity');
  30. $a->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator([($this->targetDirs[3].'/vendor/friendsofsymfony/user-bundle/Resources/config/doctrine-mapping') => 'FOS\\UserBundle\\Model'], '.orm.xml')), 'FOS\\UserBundle\\Model');
  31. $instance->setEntityNamespaces(['App' => 'App\\Entity''VichUploaderBundle' => 'Vich\\UploaderBundle\\Entity']);
  32. $instance->setMetadataCacheImpl(($this->services['doctrine_cache.providers.doctrine.orm.default_metadata_cache'] ?? $this->load('getDoctrineCache_Providers_Doctrine_Orm_DefaultMetadataCacheService.php')));
  33. $instance->setQueryCacheImpl(($this->services['doctrine_cache.providers.doctrine.orm.default_query_cache'] ?? $this->load('getDoctrineCache_Providers_Doctrine_Orm_DefaultQueryCacheService.php')));
  34. $instance->setResultCacheImpl(($this->services['doctrine_cache.providers.doctrine.orm.default_result_cache'] ?? $this->load('getDoctrineCache_Providers_Doctrine_Orm_DefaultResultCacheService.php')));
  35. $instance->setMetadataDriverImpl($a);
  36. $instance->setProxyDir(($this->targetDirs[0].'/doctrine/orm/Proxies'));
  37. $instance->setProxyNamespace('Proxies');
  38. $instance->setAutoGenerateProxyClasses(true);
  39. $instance->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
  40. $instance->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
  41. $instance->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
  42. $instance->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
  43. $instance->setEntityListenerResolver(new \Doctrine\Bundle\DoctrineBundle\Mapping\ContainerEntityListenerResolver($this));
  44. $instance->setRepositoryFactory(new \Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory(new \Symfony\Component\DependencyInjection\ServiceLocator(['App\\Repository\\CompanyRepository' => function () {
  45.     return ($this->privates['App\\Repository\\CompanyRepository'] ?? $this->load('getCompanyRepositoryService.php'));
  46. }, 'App\\Repository\\FieldRepository' => function () {
  47.     return ($this->privates['App\\Repository\\FieldRepository'] ?? $this->load('getFieldRepositoryService.php'));
  48. }, 'App\\Repository\\FileRepository' => function () {
  49.     return ($this->privates['App\\Repository\\FileRepository'] ?? $this->load('getFileRepositoryService.php'));
  50. }, 'App\\Repository\\LinkRepository' => function () {
  51.     return ($this->privates['App\\Repository\\LinkRepository'] ?? $this->load('getLinkRepositoryService.php'));
  52. }, 'App\\Repository\\MoaFieldRepository' => function () {
  53.     return ($this->privates['App\\Repository\\MoaFieldRepository'] ?? $this->load('getMoaFieldRepositoryService.php'));
  54. }, 'App\\Repository\\MoaTaskRepository' => function () {
  55.     return ($this->privates['App\\Repository\\MoaTaskRepository'] ?? $this->load('getMoaTaskRepositoryService.php'));
  56. }, 'App\\Repository\\MoaTodoListRepository' => function () {
  57.     return ($this->privates['App\\Repository\\MoaTodoListRepository'] ?? $this->load('getMoaTodoListRepositoryService.php'));
  58. }, 'App\\Repository\\ProjectRepository' => function () {
  59.     return ($this->privates['App\\Repository\\ProjectRepository'] ?? $this->load('getProjectRepositoryService.php'));
  60. }, 'App\\Repository\\ProjectTypeRepository' => function () {
  61.     return ($this->privates['App\\Repository\\ProjectTypeRepository'] ?? $this->load('getProjectTypeRepositoryService.php'));
  62. }, 'App\\Repository\\ProjectTypeTodoListRepository' => function () {
  63.     return ($this->privates['App\\Repository\\ProjectTypeTodoListRepository'] ?? $this->load('getProjectTypeTodoListRepositoryService.php'));
  64. }, 'App\\Repository\\TagRepository' => function () {
  65.     return ($this->privates['App\\Repository\\TagRepository'] ?? $this->load('getTagRepositoryService.php'));
  66. }, 'App\\Repository\\TaskFieldRepository' => function () {
  67.     return ($this->privates['App\\Repository\\TaskFieldRepository'] ?? $this->load('getTaskFieldRepositoryService.php'));
  68. }, 'App\\Repository\\TaskRepository' => function () {
  69.     return ($this->privates['App\\Repository\\TaskRepository'] ?? $this->load('getTaskRepositoryService.php'));
  70. }, 'App\\Repository\\TechSheetRepository' => function () {
  71.     return ($this->privates['App\\Repository\\TechSheetRepository'] ?? $this->load('getTechSheetRepositoryService.php'));
  72. }, 'App\\Repository\\TodoListRepository' => function () {
  73.     return ($this->privates['App\\Repository\\TodoListRepository'] ?? $this->load('getTodoListRepositoryService.php'));
  74. }, 'App\\Repository\\TodoListTaskRepository' => function () {
  75.     return ($this->privates['App\\Repository\\TodoListTaskRepository'] ?? $this->load('getTodoListTaskRepositoryService.php'));
  76. }, 'App\\Repository\\UserRepository' => function () {
  77.     return ($this->privates['App\\Repository\\UserRepository'] ?? $this->load('getUserRepositoryService.php'));
  78. }])));
  79. return $instance;