<?php
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'doctrine.orm.default_entity_manager' shared service.
if ($lazyLoad) {
return $this->services['doctrine.orm.default_entity_manager'] = $this->createProxy('EntityManager_9a5be93', function () {
return \EntityManager_9a5be93::staticProxyConstructor(function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) {
$wrappedInstance = $this->load('getDoctrine_Orm_DefaultEntityManagerService.php', false);
$proxy->setProxyInitializer(null);
return true;
});
});
}
$a = new \Doctrine\ORM\Configuration();
$b = new \Doctrine\Persistence\Mapping\Driver\MappingDriverChain();
$c = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(${($_ = isset($this->services['annotation_reader']) ? $this->services['annotation_reader'] : $this->getAnnotationReaderService()) && false ?: '_'}, [0 => ($this->targetDirs[3].'/src/AppBundle/Entity'), 1 => ($this->targetDirs[3].'/src/Mod/RestaurantBundle/Entity'), 2 => ($this->targetDirs[3].'/src/Mod/SightseeingBundle/Entity'), 3 => ($this->targetDirs[3].'/src/Mod/ContactFormBundle/Entity'), 4 => ($this->targetDirs[3].'/src/Mod/TopicsBundle/Entity'), 5 => ($this->targetDirs[3].'/src/Mod/TopBundle/Entity')]);
$b->addDriver($c, 'AppBundle\\Entity');
$b->addDriver($c, 'Mod\\RestaurantBundle\\Entity');
$b->addDriver($c, 'Mod\\SightseeingBundle\\Entity');
$b->addDriver($c, 'Mod\\ContactFormBundle\\Entity');
$b->addDriver($c, 'Mod\\TopicsBundle\\Entity');
$b->addDriver($c, 'Mod\\TopBundle\\Entity');
$b->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');
$a->setEntityNamespaces(['AppBundle' => 'AppBundle\\Entity', 'ModRestaurantBundle' => 'Mod\\RestaurantBundle\\Entity', 'ModSightseeingBundle' => 'Mod\\SightseeingBundle\\Entity', 'ModContactFormBundle' => 'Mod\\ContactFormBundle\\Entity', 'ModTopicsBundle' => 'Mod\\TopicsBundle\\Entity', 'ModTopBundle' => 'Mod\\TopBundle\\Entity']);
$a->setMetadataCacheImpl(${($_ = isset($this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.metadata']) ? $this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.metadata'] : $this->load('getDoctrine_Orm_Cache_Provider_Cache_Doctrine_Orm_Default_MetadataService.php')) && false ?: '_'});
$a->setQueryCacheImpl(${($_ = isset($this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.query']) ? $this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.query'] : $this->load('getDoctrine_Orm_Cache_Provider_Cache_Doctrine_Orm_Default_QueryService.php')) && false ?: '_'});
$a->setResultCacheImpl(${($_ = isset($this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.result']) ? $this->services['doctrine.orm.cache.provider.cache.doctrine.orm.default.result'] : $this->load('getDoctrine_Orm_Cache_Provider_Cache_Doctrine_Orm_Default_ResultService.php')) && false ?: '_'});
$a->setMetadataDriverImpl($b);
$a->setProxyDir(($this->targetDirs[0].'/doctrine/orm/Proxies'));
$a->setProxyNamespace('Proxies');
$a->setAutoGenerateProxyClasses(true);
$a->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
$a->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
$a->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
$a->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
$a->setEntityListenerResolver(${($_ = isset($this->services['doctrine.orm.default_entity_listener_resolver']) ? $this->services['doctrine.orm.default_entity_listener_resolver'] : $this->load('getDoctrine_Orm_DefaultEntityListenerResolverService.php')) && false ?: '_'});
$a->setRepositoryFactory(new \Doctrine\Bundle\DoctrineBundle\Repository\ContainerRepositoryFactory(new \Symfony\Component\DependencyInjection\ServiceLocator([])));
$a->addCustomStringFunction('aes_decrypt', 'DoctrineExtensions\\Query\\Mysql\\AesDecrypt');
$a->addCustomStringFunction('aes_encrypt', 'DoctrineExtensions\\Query\\Mysql\\AesEncrypt');
$a->addCustomStringFunction('from_base64', 'AppBundle\\Doctrine\\Extensions\\Query\\Mysql\\FromBase64');
$a->addCustomStringFunction('to_base64', 'AppBundle\\Doctrine\\Extensions\\Query\\Mysql\\ToBase64');
$a->addCustomNumericFunction('rand', 'DoctrineExtensions\\Query\\Mysql\\Rand');
$a->addCustomDatetimeFunction('date_format', 'DoctrineExtensions\\Query\\Mysql\\DateFormat');
$a->addCustomDatetimeFunction('now', 'DoctrineExtensions\\Query\\Mysql\\Now');
$a->addCustomDatetimeFunction('month', 'DoctrineExtensions\\Query\\Mysql\\Month');
$a->addCustomDatetimeFunction('year', 'DoctrineExtensions\\Query\\Mysql\\Year');
$a->addFilter('soft_delete', 'AppBundle\\Doctrine\\Filter\\SoftDeleteFilter');
$a->addFilter('public', 'AppBundle\\Doctrine\\Filter\\PublicFilter');
$a->addFilter('post_type', 'AppBundle\\Doctrine\\Filter\\PostTypeFilter');
$a->addFilter('facility', 'AppBundle\\Doctrine\\Filter\\FacilityFilter');
$a->addFilter('language', 'AppBundle\\Doctrine\\Filter\\LanguageFilter');
$instance = \Doctrine\ORM\EntityManager::create(${($_ = isset($this->services['doctrine.dbal.default_connection']) ? $this->services['doctrine.dbal.default_connection'] : $this->load('getDoctrine_Dbal_DefaultConnectionService.php')) && false ?: '_'}, $a);
${($_ = isset($this->services['doctrine.orm.default_manager_configurator']) ? $this->services['doctrine.orm.default_manager_configurator'] : ($this->services['doctrine.orm.default_manager_configurator'] = new \Doctrine\Bundle\DoctrineBundle\ManagerConfigurator([0 => 'post_type'], []))) && false ?: '_'}->configure($instance);
return $instance;