protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     require_once '/opt/lampp/htdocs/symfony2/symfony/app/cache/prod/jms_diextra/doctrine/EntityManager_509982243f179.php';
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_3f1b97459909d5be8f95fdd1560f907a');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_3f1b97459909d5be8f95fdd1560f907a');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_3f1b97459909d5be8f95fdd1560f907a');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('/opt/lampp/htdocs/symfony2/symfony/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $e = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($e);
     return $this->services['doctrine.orm.default_entity_manager'] = new \EntityManager509982243f179_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($e, $this);
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     require_once '/var/www/Symfony/app/cache/prod/jms_diextra/doctrine/EntityManager.php';
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_a92f94852d95a1e374806d6b93dd509c');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_a92f94852d95a1e374806d6b93dd509c');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_a92f94852d95a1e374806d6b93dd509c');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/var/www/Symfony/src/Form/FormBundle/Entity')), 'Form\\FormBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('FormFormBundle' => 'Form\\FormBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/var/www/Symfony/app/cache/prod/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(false);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $f = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
     $this->get('doctrine.orm.default_manager_configurator')->configure($f);
     return $this->services['doctrine.orm.default_entity_manager'] = new \EM50865219e3628_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($f, $this);
 }
 public function createService(ServiceLocatorInterface $serviceLocator)
 {
     /** @var $options \DoctrineORMModule\Options\Configuration */
     $options = $this->getOptions($serviceLocator);
     $config = new \Doctrine\ORM\Configuration();
     $config->setAutoGenerateProxyClasses($options->getGenerateProxies());
     $config->setProxyDir($options->getProxyDir());
     $config->setProxyNamespace($options->getProxyNamespace());
     $config->setEntityNamespaces($options->getEntityNamespaces());
     $config->setCustomDatetimeFunctions($options->getDatetimeFunctions());
     $config->setCustomStringFunctions($options->getStringFunctions());
     $config->setCustomNumericFunctions($options->getNumericFunctions());
     foreach ($options->getNamedQueries() as $name => $query) {
         $config->addNamedQuery($name, $query);
     }
     foreach ($options->getNamedNativeQueries() as $name => $query) {
         $config->addNamedNativeQuery($name, $query['sql'], new $query['rsm']());
     }
     foreach ($options->getCustomHydrationModes() as $modeName => $hydrator) {
         $config->addCustomHydrationMode($modeName, $hydrator);
     }
     foreach ($options->getFilters() as $name => $class) {
         $config->addFilter($name, $class);
     }
     $config->setMetadataCacheImpl($serviceLocator->get($options->getMetadataCache()));
     $config->setQueryCacheImpl($serviceLocator->get($options->getQueryCache()));
     $config->setMetadataDriverImpl($serviceLocator->get($options->getDriver()));
     if ($namingStrategy = $options->getNamingStrategy()) {
         if (is_string($namingStrategy)) {
             if (!$serviceLocator->has($namingStrategy)) {
                 throw new InvalidArgumentException(sprintf('Naming strategy "%s" not found', $namingStrategy));
             }
             $config->setNamingStrategy($serviceLocator->get($namingStrategy));
         } else {
             $config->setNamingStrategy($namingStrategy);
         }
     }
     $this->setupDBALConfiguration($serviceLocator, $config);
     return $config;
 }
 /**
  *
  * @return EntityManager
  */
 public function getTestEntityManager()
 {
     if (null === $this->entityManager) {
         $conn = \Doctrine\DBAL\DriverManager::getConnection(array('driver' => 'pdo_sqlite', 'memory' => true));
         $config = new \Doctrine\ORM\Configuration();
         $config->setAutoGenerateProxyClasses(true);
         $config->setProxyDir(\sys_get_temp_dir());
         $config->setProxyNamespace(get_class($this) . '\\Entities');
         $config->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\XmlDriver(array(__DIR__ . '/../../src/CargoBackend/Infrastructure/Persistence/Doctrine/ORM')));
         $config->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
         $config->setQueryCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
         $config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
         $this->entityManager = \Doctrine\ORM\EntityManager::create(array('driver' => 'pdo_sqlite', 'memory' => true), $config);
         //Add custom DDD types to map ValueObjects correctly
         if (!Type::hasType('cargo_itinerary_legs')) {
             Type::addType('cargo_itinerary_legs', 'CargoBackend\\Infrastructure\\Persistence\\Doctrine\\Type\\LegsDoctrineType');
         }
     }
     return $this->entityManager;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\ORM\Configuration();
     $a->setEntityNamespaces(array());
     $a->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $a->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $a->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $a->setMetadataDriverImpl(new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain());
     $a->setProxyDir('/var/www/html/cupon/app/cache/prod/doctrine/orm/Proxies');
     $a->setProxyNamespace('Proxies');
     $a->setAutoGenerateProxyClasses(false);
     $a->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $a->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $a->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $a->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $a->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $a);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $a->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => $this->targetDirs[3] . '/src/AppBundle/Entity')), 'AppBundle\\Entity');
     $b = new \Doctrine\ORM\Configuration();
     $b->setEntityNamespaces(array('AppBundle' => 'AppBundle\\Entity'));
     $b->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $b->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $b->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $b->setMetadataDriverImpl($a);
     $b->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $b->setProxyNamespace('Proxies');
     $b->setAutoGenerateProxyClasses(false);
     $b->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $b->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $b->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $b->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $b);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_83b421cc53e6cbbfb9a78993643375c6d48310b57fd004496e165579f3e23b9a');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_83b421cc53e6cbbfb9a78993643375c6d48310b57fd004496e165579f3e23b9a');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_83b421cc53e6cbbfb9a78993643375c6d48310b57fd004496e165579f3e23b9a');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/Users/yannick.dieng/Workspace/Symfony-Bug_Tracker/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Create service
  *
  * @param ContainerInterface $container
  * @return mixed
  */
 public function __invoke(ContainerInterface $container) : EntityManager
 {
     $appConfig = $container->get('config');
     if (!isset($appConfig['doctrine']['connection']['orm_default'])) {
         throw new \RuntimeException("Missing doctrine connection config for orm_default driver");
     }
     $config = new \Doctrine\ORM\Configuration();
     $config->setAutoGenerateProxyClasses(true);
     $config->setProxyDir('data/cache');
     $config->setProxyNamespace('Codeliner\\CargoBackend\\Doctrine\\Entities');
     $config->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\XmlDriver(array(__DIR__ . '/../../Infrastructure/Persistence/Doctrine/ORM')));
     $config->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
     $config->setQueryCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
     $config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
     $entityManager = \Doctrine\ORM\EntityManager::create($appConfig['doctrine']['connection']['orm_default'], $config);
     //Add custom DDD types to map ValueObjects correctly
     if (!Type::hasType('cargo_itinerary_legs')) {
         Type::addType('cargo_itinerary_legs', LegsDoctrineType::class);
     }
     if (!Type::hasType('cargo_tracking_id')) {
         Type::addType(TrackingIdDoctrineType::NAME, TrackingIdDoctrineType::class);
     }
     return $entityManager;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_f4c41a9c5f18b557edf251de7a1734a8');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_f4c41a9c5f18b557edf251de7a1734a8');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_f4c41a9c5f18b557edf251de7a1734a8');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/xampp/htdocs/curso-sf2/RomeroGustavo/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
示例#10
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_077bc67c591eec8b7759401dc2dfe804eccbf9b313f0c5ed950b23b6991e4385');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_077bc67c591eec8b7759401dc2dfe804eccbf9b313f0c5ed950b23b6991e4385');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_077bc67c591eec8b7759401dc2dfe804eccbf9b313f0c5ed950b23b6991e4385');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('/Applications/MAMP/htdocs/Symfony/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_c43e8f51c881049f15db13486559e85b8b3e6430bd43cb6dc92e4956d8769bb3');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_c43e8f51c881049f15db13486559e85b8b3e6430bd43cb6dc92e4956d8769bb3');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_c43e8f51c881049f15db13486559e85b8b3e6430bd43cb6dc92e4956d8769bb3');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/xampp/htdocs/ClinicSoft/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
示例#12
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_d91a10f2ae327d1954fe587d4f27c373dd2f0863040d40cb03ab7002af2dd370');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_d91a10f2ae327d1954fe587d4f27c373dd2f0863040d40cb03ab7002af2dd370');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_d91a10f2ae327d1954fe587d4f27c373dd2f0863040d40cb03ab7002af2dd370');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('D:/CAIDAT/wamp2/www/jobeet/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
示例#13
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_98d28531854ca58c0bf073ed4112894489b409108f672ccdd9a25d0fdda1bf39');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_98d28531854ca58c0bf073ed4112894489b409108f672ccdd9a25d0fdda1bf39');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_98d28531854ca58c0bf073ed4112894489b409108f672ccdd9a25d0fdda1bf39');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('/Applications/MAMP/htdocs/boleraSymfony/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
示例#14
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_6affbdad4e12ed4981b317db5178b565');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_6affbdad4e12ed4981b317db5178b565');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_6affbdad4e12ed4981b317db5178b565');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('/var/www/html/curso-sf2/JFBenitez/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_6690a35848075b82042ecee0f3b85b6636dfbe4d701304ba6288f45227876160');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_6690a35848075b82042ecee0f3b85b6636dfbe4d701304ba6288f45227876160');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_6690a35848075b82042ecee0f3b85b6636dfbe4d701304ba6288f45227876160');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => 'C:\\wamp\\www\\winnick\\api\\src\\App\\AppBundle\\Entity')), 'App\\AppBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('AppBundle' => 'App\\AppBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('C:/wamp/www/winnick/api/app/cache/dev/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(true);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $e);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_c2c5044e77304f0e0c08f50f79327e6f316080fd1bf0f31c724bdcdb0bf24270');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_c2c5044e77304f0e0c08f50f79327e6f316080fd1bf0f31c724bdcdb0bf24270');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_c2c5044e77304f0e0c08f50f79327e6f316080fd1bf0f31c724bdcdb0bf24270');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/wamp/www/Symfony/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '\\src\\keny\\LeboncoinBundle\\Entity', 1 => $this->targetDirs[3] . '\\src\\keny\\UserBundle\\Entity'));
     $c = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $c->addDriver($b, 'keny\\LeboncoinBundle\\Entity');
     $c->addDriver($b, 'keny\\UserBundle\\Entity');
     $c->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array($this->targetDirs[3] . '\\vendor\\friendsofsymfony\\user-bundle\\Resources\\config\\doctrine-mapping' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array('kenyLeboncoinBundle' => 'keny\\LeboncoinBundle\\Entity', 'kenyUserBundle' => 'keny\\UserBundle\\Entity'));
     $d->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $d->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $d->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $d->setMetadataDriverImpl($c);
     $d->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $d->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $d->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.site_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_SiteEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_site_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_site_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69');
     $d = new \Doctrine\Common\Cache\ArrayCache();
     $d->setNamespace('sf2orm_site_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69');
     $e = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => 'D:\\SiteRising\\src\\SiteRising\\AionShopBundle\\Entity', 1 => 'D:\\SiteRising\\src\\SiteRising\\UserBundle\\Entity'));
     $f = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('D:\\SiteRising\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine' => 'FOS\\UserBundle\\Entity'));
     $f->setGlobalBasename('mapping');
     $g = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $g->addDriver($e, 'SiteRising\\AionShopBundle\\Entity');
     $g->addDriver($e, 'SiteRising\\UserBundle\\Entity');
     $g->addDriver($f, 'FOS\\UserBundle\\Entity');
     $h = new \Doctrine\ORM\Configuration();
     $h->setEntityNamespaces(array('AionShopBundle' => 'SiteRising\\AionShopBundle\\Entity', 'FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'SiteRisingUserBundle' => 'SiteRising\\UserBundle\\Entity'));
     $h->setMetadataCacheImpl($b);
     $h->setQueryCacheImpl($c);
     $h->setResultCacheImpl($d);
     $h->setMetadataDriverImpl($g);
     $h->setProxyDir('D:/SiteRising/app/cache/dev/doctrine/orm/Proxies');
     $h->setProxyNamespace('Proxies');
     $h->setAutoGenerateProxyClasses(false);
     $h->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $h->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $h->setNamingStrategy($this->get('doctrine.orm.naming_strategy.default'));
     $this->services['doctrine.orm.site_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.site_connection'), $h);
     $this->get('doctrine.orm.site_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \EntityManager564cc1aa2299a_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager A EntityManager564cc1aa2299a_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     require_once __DIR__ . '/jms_diextra/doctrine/EntityManager_564cc1aa2299a.php';
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '/src/Test/BlogBundle/Entity', 1 => $this->targetDirs[3] . '/src/Test/UserBundle/Entity'));
     $c = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $c->addDriver($b, 'Test\\BlogBundle\\Entity');
     $c->addDriver($b, 'Test\\UserBundle\\Entity');
     $c->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array($this->targetDirs[3] . '/vendor/friendsofsymfony/user-bundle/Resources/config/doctrine-mapping' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array('TestBlogBundle' => 'Test\\BlogBundle\\Entity', 'TestUserBundle' => 'Test\\UserBundle\\Entity'));
     $d->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $d->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $d->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $d->setMetadataDriverImpl($c);
     $d->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
     $d->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $d->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $e = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($e);
     return $this->services['doctrine.orm.default_entity_manager'] = new \EntityManager564cc1aa2299a_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($e, $this);
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_f7dfdd11068053eb60d2ba430a89f732183dd8f5b1bd38b8ae05e91007f7bf6d');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_f7dfdd11068053eb60d2ba430a89f732183dd8f5b1bd38b8ae05e91007f7bf6d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_f7dfdd11068053eb60d2ba430a89f732183dd8f5b1bd38b8ae05e91007f7bf6d');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/andoni/symfony2/peliculas/src/uni/Bundle/PeliculasBundle/Entity')), 'uni\\Bundle\\PeliculasBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniPeliculasBundle' => 'uni\\Bundle\\PeliculasBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/andoni/symfony2/peliculas/app/cache/dev/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(true);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $e);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_9b6759542d2ded3546f83863781a1221');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_9b6759542d2ded3546f83863781a1221');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_9b6759542d2ded3546f83863781a1221');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('/home/nassafou/www-deve/bweb/app/cache/dev/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_36ec7f73054cee72232777915be800b36830d39846c203d3e290f2e4cd8d54a5');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_36ec7f73054cee72232777915be800b36830d39846c203d3e290f2e4cd8d54a5');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_36ec7f73054cee72232777915be800b36830d39846c203d3e290f2e4cd8d54a5');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('/var/www/html/www.sonata.com/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/doctrine' => 'FOS\\UserBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('/var/www/html/www.sonata.com/src/Acme/StoreBundle/Resources/config/doctrine' => 'Acme\\StoreBundle\\Entity', '/var/www/html/www.sonata.com/src/Acme/ImageBundle/Resources/config/doctrine' => 'Acme\\ImageBundle\\Entity', '/var/www/html/www.sonata.com/src/Acme/HomeBundle/Resources/config/doctrine' => 'Acme\\HomeBundle\\Entity', '/var/www/html/www.sonata.com/src/Acme/InfoBundle/Resources/config/doctrine' => 'Acme\\InfoBundle\\Entity', '/var/www/html/www.sonata.com/src/Acme/CategoryBundle/Resources/config/doctrine' => 'Acme\\CategoryBundle\\Entity', '/var/www/html/www.sonata.com/src/Acme/FooterBundle/Resources/config/doctrine' => 'Acme\\FooterBundle\\Entity'));
     $e->setGlobalBasename('mapping');
     $f = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $f->addDriver($d, 'FOS\\UserBundle\\Entity');
     $f->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/var/www/html/www.sonata.com/src/Acme/UserBundle/Entity')), 'Acme\\UserBundle\\Entity');
     $f->addDriver($e, 'Acme\\StoreBundle\\Entity');
     $f->addDriver($e, 'Acme\\ImageBundle\\Entity');
     $f->addDriver($e, 'Acme\\HomeBundle\\Entity');
     $f->addDriver($e, 'Acme\\InfoBundle\\Entity');
     $f->addDriver($e, 'Acme\\CategoryBundle\\Entity');
     $f->addDriver($e, 'Acme\\FooterBundle\\Entity');
     $g = new \Doctrine\ORM\Configuration();
     $g->setEntityNamespaces(array('FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'AcmeUserBundle' => 'Acme\\UserBundle\\Entity', 'AcmeStoreBundle' => 'Acme\\StoreBundle\\Entity', 'AcmeImageBundle' => 'Acme\\ImageBundle\\Entity', 'AcmeHomeBundle' => 'Acme\\HomeBundle\\Entity', 'AcmeInfoBundle' => 'Acme\\InfoBundle\\Entity', 'AcmeCategoryBundle' => 'Acme\\CategoryBundle\\Entity', 'AcmeFooterBundle' => 'Acme\\FooterBundle\\Entity'));
     $g->setMetadataCacheImpl($a);
     $g->setQueryCacheImpl($b);
     $g->setResultCacheImpl($c);
     $g->setMetadataDriverImpl($f);
     $g->setProxyDir('/var/www/html/www.sonata.com/app/cache/prod/doctrine/orm/Proxies');
     $g->setProxyNamespace('Proxies');
     $g->setAutoGenerateProxyClasses(false);
     $g->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $g->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $g->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $g);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_1a2cf4c9b96587bc4671d8af511d1d8cbc79fd12879d731699d7f2080a252043');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_1a2cf4c9b96587bc4671d8af511d1d8cbc79fd12879d731699d7f2080a252043');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_1a2cf4c9b96587bc4671d8af511d1d8cbc79fd12879d731699d7f2080a252043');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/wamp/www/NetBeansProjects/ShopMoi/app/cache/prod/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(false);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array($this->targetDirs[3] . '/src/Application/Sonata/UserBundle/Resources/config/doctrine' => 'Application\\Sonata\\UserBundle\\Entity', $this->targetDirs[3] . '/vendor/sonata-project/user-bundle/Resources/config/doctrine' => 'Sonata\\UserBundle\\Entity', $this->targetDirs[3] . '/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/doctrine' => 'FOS\\UserBundle\\Entity'));
     $a->setGlobalBasename('mapping');
     $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $b->addDriver($a, 'Application\\Sonata\\UserBundle\\Entity');
     $b->addDriver($a, 'Sonata\\UserBundle\\Entity');
     $b->addDriver($a, 'FOS\\UserBundle\\Entity');
     $c = new \Doctrine\ORM\Configuration();
     $c->setEntityNamespaces(array('ApplicationSonataUserBundle' => 'Application\\Sonata\\UserBundle\\Entity', 'SonataUserBundle' => 'Sonata\\UserBundle\\Entity', 'FOSUserBundle' => 'FOS\\UserBundle\\Entity'));
     $c->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $c->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $c->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $c->setMetadataDriverImpl($b);
     $c->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $c->setProxyNamespace('Proxies');
     $c->setAutoGenerateProxyClasses(false);
     $c->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $c->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $c->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $c->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $c->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $c);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_e10122f9e78b1585ae1fae230ce18ff73cc5551cc0b6a1db422bc698b726aaac');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_e10122f9e78b1585ae1fae230ce18ff73cc5551cc0b6a1db422bc698b726aaac');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_e10122f9e78b1585ae1fae230ce18ff73cc5551cc0b6a1db422bc698b726aaac');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/Bitnami/wampstack-5.5.26-0/apache2/htdocs/Symfony/app/cache/dev/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_b2c4fcf5c0da202c0e4beac1b5f2a772a6f3f8c63f361f4b7bac9a35919e6014');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_b2c4fcf5c0da202c0e4beac1b5f2a772a6f3f8c63f361f4b7bac9a35919e6014');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_b2c4fcf5c0da202c0e4beac1b5f2a772a6f3f8c63f361f4b7bac9a35919e6014');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array());
     $d->setMetadataCacheImpl($a);
     $d->setQueryCacheImpl($b);
     $d->setResultCacheImpl($c);
     $d->setMetadataDriverImpl(new \Doctrine\ORM\Mapping\Driver\DriverChain());
     $d->setProxyDir('C:/xampp/htdocs/localServices/app/cache/dev/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
示例#27
0
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '/src/Air/BlogBundle/Entity', 1 => $this->targetDirs[3] . '/src/Common/UserBundle/Entity', 2 => $this->targetDirs[3] . '/vendor/doctrine/doctrine-fixtures-bundle/Doctrine/Bundle/FixturesBundle/Entity'));
     $c = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $c->addDriver($b, 'Air\\BlogBundle\\Entity');
     $c->addDriver($b, 'Common\\UserBundle\\Entity');
     $c->addDriver($b, 'Doctrine\\Bundle\\FixturesBundle\\Entity');
     $d = new \Doctrine\ORM\Configuration();
     $d->setEntityNamespaces(array('AirBlogBundle' => 'Air\\BlogBundle\\Entity', 'CommonUserBundle' => 'Common\\UserBundle\\Entity', 'DoctrineFixturesBundle' => 'Doctrine\\Bundle\\FixturesBundle\\Entity'));
     $d->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $d->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $d->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $d->setMetadataDriverImpl($c);
     $d->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $d->setProxyNamespace('Proxies');
     $d->setAutoGenerateProxyClasses(true);
     $d->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $d->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $d->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $d->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $d);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_e9c20c075f840f06b17e2a460919441f');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_e9c20c075f840f06b17e2a460919441f');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_e9c20c075f840f06b17e2a460919441f');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => $this->targetDirs[3] . '\\src\\BackOffice\\AdminBundle\\Entity')), 'BackOffice\\AdminBundle\\Entity');
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array($this->targetDirs[3] . '\\vendor\\friendsofsymfony\\user-bundle\\Resources\\config\\doctrine-mapping' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('AdminBundle' => 'BackOffice\\AdminBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(true);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '/src/Cestom/ArticleBundle/Entity', 1 => $this->targetDirs[3] . '/src/Cestom/UserBundle/Entity'));
     $c = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array($this->targetDirs[3] . '/src/Cestom/StoreBundle/Resources/config/doctrine' => 'Cestom\\StoreBundle\\Entity'));
     $c->setGlobalBasename('mapping');
     $d = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $d->addDriver($b, 'Cestom\\ArticleBundle\\Entity');
     $d->addDriver($b, 'Cestom\\UserBundle\\Entity');
     $d->addDriver($c, 'Cestom\\StoreBundle\\Entity');
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array($this->targetDirs[3] . '/vendor/friendsofsymfony/user-bundle/Resources/config/doctrine-mapping' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('CestomArticleBundle' => 'Cestom\\ArticleBundle\\Entity', 'CestomUserBundle' => 'Cestom\\UserBundle\\Entity', 'CestomStoreBundle' => 'Cestom\\StoreBundle\\Entity'));
     $e->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $e->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $e->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(false);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $e->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $e->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $e);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
 /**
  * Gets the 'doctrine.orm.default_entity_manager' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Doctrine\ORM\EntityManager A Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array($this->targetDirs[3] . '\\src\\Vlreleases\\UserBundle\\Resources\\config\\doctrine' => 'Vlreleases\\UserBundle\\Entity'));
     $a->setGlobalBasename('mapping');
     $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain();
     $b->addDriver($a, 'Vlreleases\\UserBundle\\Entity');
     $c = new \Doctrine\ORM\Configuration();
     $c->setEntityNamespaces(array('VlreleasesUserBundle' => 'Vlreleases\\UserBundle\\Entity'));
     $c->setMetadataCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_metadata_cache'));
     $c->setQueryCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_query_cache'));
     $c->setResultCacheImpl($this->get('doctrine_cache.providers.doctrine.orm.default_result_cache'));
     $c->setMetadataDriverImpl($b);
     $c->setProxyDir(__DIR__ . '/doctrine/orm/Proxies');
     $c->setProxyNamespace('Proxies');
     $c->setAutoGenerateProxyClasses(true);
     $c->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $c->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $c->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $c->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
     $c->setEntityListenerResolver($this->get('doctrine.orm.default_entity_listener_resolver'));
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $c);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }