protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     require_once 'D:/xampp/htdocs/symfony_installer/rest/app/cache/prod/jms_diextra/doctrine/EntityManager_565715f0d6f2e.php';
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_0e40646fce844daa965ec40672242e7d');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_0e40646fce844daa965ec40672242e7d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_0e40646fce844daa965ec40672242e7d');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => 'D:\\xampp\\htdocs\\symfony_installer\\rest\\src\\WireDelta\\DemoBundle\\Entity')), 'WireDelta\\DemoBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('WireDeltaDemoBundle' => 'WireDelta\\DemoBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('D:/xampp/htdocs/symfony_installer/rest/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 \EntityManager565715f0d6f2e_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($f, $this);
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_4daee9dfb8af5f706c767d9f3ee73fb6');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_4daee9dfb8af5f706c767d9f3ee73fb6');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_4daee9dfb8af5f706c767d9f3ee73fb6');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('C:\\xampp\\htdocs\\betafinale\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine' => 'FOS\\UserBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $e->addDriver($d, 'FOS\\UserBundle\\Entity');
     $e->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => 'C:\\xampp\\htdocs\\betafinale\\src\\Utilisateur\\UtilisateurBundle\\Entity')), 'Utilisateur\\UtilisateurBundle\\Entity');
     $e->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array('C:\\xampp\\htdocs\\betafinale\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine\\model' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $f = new \Doctrine\ORM\Configuration();
     $f->setEntityNamespaces(array('FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'UtilisateurBundle' => 'Utilisateur\\UtilisateurBundle\\Entity'));
     $f->setMetadataCacheImpl($a);
     $f->setQueryCacheImpl($b);
     $f->setResultCacheImpl($c);
     $f->setMetadataDriverImpl($e);
     $f->setProxyDir('C:/xampp/htdocs/betafinale/app/cache/prod/doctrine/orm/Proxies');
     $f->setProxyNamespace('Proxies');
     $f->setAutoGenerateProxyClasses(false);
     $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $f->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'), $f);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
Ejemplo n.º 3
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_442e977d5cbdf117eeb2e46616013f9d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_442e977d5cbdf117eeb2e46616013f9d');
     $d = new \Doctrine\Common\Cache\ArrayCache();
     $d->setNamespace('sf2orm_default_442e977d5cbdf117eeb2e46616013f9d');
     $e = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '/src/Annuaire/AnnuaireBundle/Entity', 1 => $this->targetDirs[3] . '/src/Utilisateurs/UtilisateurBundle/Entity'));
     $f = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $f->addDriver($e, 'Annuaire\\AnnuaireBundle\\Entity');
     $f->addDriver($e, 'Utilisateurs\\UtilisateurBundle\\Entity');
     $f->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');
     $g = new \Doctrine\ORM\Configuration();
     $g->setEntityNamespaces(array('AnnuaireBundle' => 'Annuaire\\AnnuaireBundle\\Entity', 'UtilisateurBundle' => 'Utilisateurs\\UtilisateurBundle\\Entity'));
     $g->setMetadataCacheImpl($b);
     $g->setQueryCacheImpl($c);
     $g->setResultCacheImpl($d);
     $g->setMetadataDriverImpl($f);
     $g->setProxyDir(__DIR__ . '/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 = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $g);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
Ejemplo n.º 4
0
 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);
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_0b7ea2905c8c334a3198b040659e40a6');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_0b7ea2905c8c334a3198b040659e40a6');
     $d = new \Doctrine\Common\Cache\ArrayCache();
     $d->setNamespace('sf2orm_default_0b7ea2905c8c334a3198b040659e40a6');
     $e = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => 'C:\\xampp\\htdocs\\ociosos\\src\\Ociosos\\ComunBundle\\Entity', 1 => 'C:\\xampp\\htdocs\\ociosos\\src\\Ociosos\\UsuarioBundle\\Entity', 2 => 'C:\\xampp\\htdocs\\ociosos\\src\\Ociosos\\RodasXMLBundle\\Entity'));
     $f = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $f->addDriver($e, 'Ociosos\\ComunBundle\\Entity');
     $f->addDriver($e, 'Ociosos\\UsuarioBundle\\Entity');
     $f->addDriver($e, 'Ociosos\\RodasXMLBundle\\Entity');
     $g = new \Doctrine\ORM\Configuration();
     $g->setEntityNamespaces(array('ComunBundle' => 'Ociosos\\ComunBundle\\Entity', 'UsuarioBundle' => 'Ociosos\\UsuarioBundle\\Entity', 'RodasXMLBundle' => 'Ociosos\\RodasXMLBundle\\Entity'));
     $g->setMetadataCacheImpl($b);
     $g->setQueryCacheImpl($c);
     $g->setResultCacheImpl($d);
     $g->setMetadataDriverImpl($f);
     $g->setProxyDir('C:/xampp/htdocs/ociosos/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 = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $g);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
Ejemplo n.º 6
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_009ddab573918805ac10dd8e02df21ad9f522de9b39f898aae553f354da1859d');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_009ddab573918805ac10dd8e02df21ad9f522de9b39f898aae553f354da1859d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_009ddab573918805ac10dd8e02df21ad9f522de9b39f898aae553f354da1859d');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/haritz/symfony2/marca/src/uni/bundle/marcaBundle/Entity')), 'uni\\bundle\\marcaBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniMarcaBundle' => 'uni\\bundle\\marcaBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/haritz/symfony2/marca/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());
     $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;
 }
Ejemplo n.º 7
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_4ca521896daf736538c0aaeac9ffa919f656c0e077d30db12c4a269e6370c815');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_4ca521896daf736538c0aaeac9ffa919f656c0e077d30db12c4a269e6370c815');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_4ca521896daf736538c0aaeac9ffa919f656c0e077d30db12c4a269e6370c815');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('C:\\wamp\\www\\health\\Symfony\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine' => 'FOS\\UserBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $e->addDriver($d, 'FOS\\UserBundle\\Entity');
     $e->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => 'C:\\wamp\\www\\health\\Symfony\\src\\healthlife\\UserBundle\\Entity')), 'healthlife\\UserBundle\\Entity');
     $e->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array('C:\\wamp\\www\\health\\Symfony\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine\\model' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $f = new \Doctrine\ORM\Configuration();
     $f->setEntityNamespaces(array('FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'healthlifeUserBundle' => 'healthlife\\UserBundle\\Entity'));
     $f->setMetadataCacheImpl($a);
     $f->setQueryCacheImpl($b);
     $f->setResultCacheImpl($c);
     $f->setMetadataDriverImpl($e);
     $f->setProxyDir('C:/wamp/www/health/Symfony/app/cache/prod/doctrine/orm/Proxies');
     $f->setProxyNamespace('Proxies');
     $f->setAutoGenerateProxyClasses(false);
     $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $f->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $f);
     $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_a10d301149e084ecdc488926bd33b00804ee0e5e92d7232190c350bbe261b941');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_a10d301149e084ecdc488926bd33b00804ee0e5e92d7232190c350bbe261b941');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_a10d301149e084ecdc488926bd33b00804ee0e5e92d7232190c350bbe261b941');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('/var/www/html/LetsVolunteer/src/Ridwan/EntityBundle/Resources/config/doctrine' => 'Ridwan\\EntityBundle\\Entity', '/var/www/html/LetsVolunteer/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/doctrine' => 'FOS\\UserBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $e->addDriver($d, 'Ridwan\\EntityBundle\\Entity');
     $e->addDriver($d, 'FOS\\UserBundle\\Entity');
     $f = new \Doctrine\ORM\Configuration();
     $f->setEntityNamespaces(array('RidwanEntityBundle' => 'Ridwan\\EntityBundle\\Entity', 'FOSUserBundle' => 'FOS\\UserBundle\\Entity'));
     $f->setMetadataCacheImpl($a);
     $f->setQueryCacheImpl($b);
     $f->setResultCacheImpl($c);
     $f->setMetadataDriverImpl($e);
     $f->setProxyDir('/var/www/html/LetsVolunteer/app/cache/prod/doctrine/orm/Proxies');
     $f->setProxyNamespace('Proxies');
     $f->setAutoGenerateProxyClasses(false);
     $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $f->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $this->services['doctrine.orm.default_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.default_connection'), $f);
     $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_9d968dc3678c378fa217a1250471e79fb7e4263cf64827a5f1c8cd74fdb740d9');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_9d968dc3678c378fa217a1250471e79fb7e4263cf64827a5f1c8cd74fdb740d9');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_9d968dc3678c378fa217a1250471e79fb7e4263cf64827a5f1c8cd74fdb740d9');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/itziar/web/synfony2/itziar-superheroes/src/uni/bundle/superhBundle/Entity')), 'uni\\bundle\\superhBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniSuperhBundle' => 'uni\\bundle\\superhBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/itziar/web/synfony2/itziar-superheroes/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());
     $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_d8b0087a585fd8d1a917703a03663dadd0fbb62170bcdd10b61d3f5a3b162bd9');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_d8b0087a585fd8d1a917703a03663dadd0fbb62170bcdd10b61d3f5a3b162bd9');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_d8b0087a585fd8d1a917703a03663dadd0fbb62170bcdd10b61d3f5a3b162bd9');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/ivan/symfony2/juegos/src/uniJuegos/Bundle/Entity')), 'uniJuegos\\Bundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniJuegosBundle' => 'uniJuegos\\Bundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/ivan/symfony2/juegos/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());
     $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;
 }
Ejemplo n.º 11
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_8d769ce4aa22abd637c7b7052818602e040efc33d69a70ac4544342291b37ba8');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_8d769ce4aa22abd637c7b7052818602e040efc33d69a70ac4544342291b37ba8');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_8d769ce4aa22abd637c7b7052818602e040efc33d69a70ac4544342291b37ba8');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/iker/symfony2/marca/src/uni/bundle/marcaBundle/Entity')), 'uni\\bundle\\marcaBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniMarcaBundle' => 'uni\\bundle\\marcaBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/iker/symfony2/marca/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());
     $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_96cf3538b0da5baecb67532527b29efb');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_96cf3538b0da5baecb67532527b29efb');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_96cf3538b0da5baecb67532527b29efb');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('C:\\wamp\\www\\Gestion_Recouvrement\\src\\DbSp\\DbBundle\\Resources\\config\\doctrine' => 'DbSp\\DbBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $e->addDriver($d, 'DbSp\\DbBundle\\Entity');
     $f = new \Doctrine\ORM\Configuration();
     $f->setEntityNamespaces(array('DbSpDbBundle' => 'DbSp\\DbBundle\\Entity'));
     $f->setMetadataCacheImpl($a);
     $f->setQueryCacheImpl($b);
     $f->setResultCacheImpl($c);
     $f->setMetadataDriverImpl($e);
     $f->setProxyDir('C:/wamp/www/Gestion_Recouvrement/app/cache/prod/doctrine/orm/Proxies');
     $f->setProxyNamespace('Proxies');
     $f->setAutoGenerateProxyClasses(false);
     $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $f->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'), $f);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
Ejemplo n.º 13
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_34fb07f8c5c30a0161dab82f751c8632e441929962e443e4f0acfa325886b164');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_34fb07f8c5c30a0161dab82f751c8632e441929962e443e4f0acfa325886b164');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_34fb07f8c5c30a0161dab82f751c8632e441929962e443e4f0acfa325886b164');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/itziar/web/synfony2/recetas/src/uni/bundle/recetasBundle/Entity')), 'uni\\bundle\\recetasBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniRecetasBundle' => 'uni\\bundle\\recetasBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/itziar/web/synfony2/recetas/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());
     $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;
 }
Ejemplo n.º 14
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_212f582878cf7474c20ecc1bd0f75efb89c7ef7c7a33110da091960837c6c845');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_212f582878cf7474c20ecc1bd0f75efb89c7ef7c7a33110da091960837c6c845');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_212f582878cf7474c20ecc1bd0f75efb89c7ef7c7a33110da091960837c6c845');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/andoni/symfony2/Marca/src/Uni/Bundle/MarcaBundle/Entity')), 'Uni\\Bundle\\MarcaBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('uniMarcaBundle' => 'Uni\\Bundle\\MarcaBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/andoni/symfony2/Marca/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());
     $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;
 }
Ejemplo n.º 15
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_019450da99e05046e6cf54e2529ab1e5');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_019450da99e05046e6cf54e2529ab1e5');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_019450da99e05046e6cf54e2529ab1e5');
     $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\\Rajda\\cmsBundle\\Entity')), 'Rajda\\cmsBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('RajdacmsBundle' => 'Rajda\\cmsBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $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());
     $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;
 }
Ejemplo n.º 16
0
 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(false);
     $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;
 }
 public function setUp()
 {
     $config = new \Doctrine\ORM\Configuration();
     $config->setMetadataCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
     $config->setQueryCacheImpl(new \Doctrine\Common\Cache\ArrayCache());
     $config->setProxyDir(__DIR__ . '/Proxy');
     $config->setProxyNamespace('DoctrineExtensions\\Taggable\\Proxies');
     $driverImpl = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $driverImpl->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(__DIR__ . '/../../../../metadata'), 'DoctrineExtensions\\Taggable\\Entity');
     $driverImpl->addDriver($config->newDefaultAnnotationDriver(), 'Tests\\DoctrineExtensions\\Taggable\\Fixtures');
     $config->setMetadataDriverImpl($driverImpl);
     $this->em = \Doctrine\ORM\EntityManager::create(array('driver' => 'pdo_sqlite', 'memory' => true), $config);
     $schemaTool = new \Doctrine\ORM\Tools\SchemaTool($this->em);
     $schemaTool->dropSchema(array());
     $schemaTool->createSchema(array($this->em->getClassMetadata('DoctrineExtensions\\Taggable\\Entity\\Tag'), $this->em->getClassMetadata('DoctrineExtensions\\Taggable\\Entity\\Tagging'), $this->em->getClassMetadata('Tests\\DoctrineExtensions\\Taggable\\Fixtures\\Article')));
     $this->manager = new TagManager($this->em);
     $this->em->getEventManager()->addEventSubscriber(new TagListener($this->manager));
 }
Ejemplo n.º 18
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_c29185bb2aeabcb3546c59a06a774498c5eb6380cd1929865a8ad9ff989390e6');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_c29185bb2aeabcb3546c59a06a774498c5eb6380cd1929865a8ad9ff989390e6');
     $d = new \Doctrine\Common\Cache\ArrayCache();
     $d->setNamespace('sf2orm_default_c29185bb2aeabcb3546c59a06a774498c5eb6380cd1929865a8ad9ff989390e6');
     $e = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => 'E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\src\\Ecommerce\\EcommerceBundle\\Entity', 1 => 'E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\src\\Pages\\PagesBundle\\Entity', 2 => 'E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\src\\Utilisateurs\\UtilisateursBundle\\Entity'));
     $f = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\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, 'Ecommerce\\EcommerceBundle\\Entity');
     $g->addDriver($e, 'Pages\\PagesBundle\\Entity');
     $g->addDriver($e, 'Utilisateurs\\UtilisateursBundle\\Entity');
     $g->addDriver($f, 'FOS\\UserBundle\\Entity');
     $g->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array('E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine\\model' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model');
     $h = new \Doctrine\ORM\Configuration();
     $h->setEntityNamespaces(array('EcommerceBundle' => 'Ecommerce\\EcommerceBundle\\Entity', 'PagesBundle' => 'Pages\\PagesBundle\\Entity', 'FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'UtilisateursBundle' => 'Utilisateurs\\UtilisateursBundle\\Entity'));
     $h->setMetadataCacheImpl($b);
     $h->setQueryCacheImpl($c);
     $h->setResultCacheImpl($d);
     $h->setMetadataDriverImpl($g);
     $h->setProxyDir('E:\\Programmes fichiers\\wamp\\www\\Git\\Ecommerce1\\app\\cache\\prod/doctrine/orm/Proxies');
     $h->setProxyNamespace('Proxies');
     $h->setAutoGenerateProxyClasses(false);
     $h->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $h->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $h->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'), $h);
     $this->get('doctrine.orm.default_manager_configurator')->configure($instance);
     return $instance;
 }
Ejemplo n.º 19
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_84be564a736592f5adb8a636ad76352d');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_84be564a736592f5adb8a636ad76352d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_84be564a736592f5adb8a636ad76352d');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(new \Symfony\Bundle\DoctrineBundle\Annotations\IndexedReader($this->get('annotation_reader')), array(0 => 'C:\\xampp\\htdocs\\padel\\src\\Padel\\LeagueBundle\\Entity')), 'Padel\\LeagueBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('PadelLeagueBundle' => 'Padel\\LeagueBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('C:\\xampp\\htdocs\\padel\\app/cache/prod/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(false);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
 }
Ejemplo n.º 20
0
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_bddc62fcad964f5f33eb80c56d142d7d');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_bddc62fcad964f5f33eb80c56d142d7d');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_bddc62fcad964f5f33eb80c56d142d7d');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Symfony\Bundle\DoctrineBundle\Mapping\Driver\XmlDriver(array('Foo\\BarBundle\\Entity' => 'C:\\xampp\\htdocs\\sesion\\src\\Foo\\BarBundle\\Resources\\config\\doctrine')), 'Foo\\BarBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('FooBarBundle' => 'Foo\\BarBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('C:\\xampp\\htdocs\\sesion\\app/cache/prod/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(false);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
 }
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     $a = new \Doctrine\Common\Cache\ArrayCache();
     $a->setNamespace('sf2orm_default_28fbb686b577c74454a442d0c7af15b4');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_28fbb686b577c74454a442d0c7af15b4');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_28fbb686b577c74454a442d0c7af15b4');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(new \Symfony\Bridge\Doctrine\Annotations\IndexedReader($this->get('annotation_reader')), array(0 => '/home/vamps/sfprojects/Exigency/src/Pasa/RequirementBundle/Entity')), 'Pasa\\RequirementBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('PasaRequirementBundle' => 'Pasa\\RequirementBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('/home/vamps/sfprojects/Exigency/app/cache/prod/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(false);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
 }
Ejemplo n.º 22
0
 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;
 }
 /**
  * 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_5b1d0dfee5679412b4eb4605aa7bafdd');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_5b1d0dfee5679412b4eb4605aa7bafdd');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_5b1d0dfee5679412b4eb4605aa7bafdd');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver(new \Symfony\Bundle\DoctrineBundle\Annotations\IndexedReader($this->get('annotation_reader')), array(0 => 'C:\\xampp\\htdocs\\dobervich\\src\\Company\\BlogBundle\\Entity')), 'Company\\BlogBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('CompanyBlogBundle' => 'Company\\BlogBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('C:\\xampp\\htdocs\\dobervich\\app/cache/dev_new/doctrine/orm/Proxies');
     $e->setProxyNamespace('Proxies');
     $e->setAutoGenerateProxyClasses(true);
     $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     return $this->services['doctrine.orm.default_entity_manager'] = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $e);
 }
Ejemplo n.º 24
0
 /**
  * Initialize ORM Metadata drivers.
  *
  * @param array $config ORM Mapping drivers.
  *
  * @return Doctrine\ORM\Mapping\Driver\DriverChain
  */
 private function startORMMetadata(array $config = array())
 {
     $metadataDriver = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     // Default metadata driver configuration
     $defaultMetadataDriver = array('adapterClass' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver', 'mappingNamespace' => '', 'mappingDirs' => array(), 'annotationReaderClass' => 'Doctrine\\Common\\Annotations\\AnnotationReader', 'annotationReaderCache' => $this->defaultCacheInstance, 'annotationReaderNamespaces' => array());
     // Setup AnnotationRegistry
     $this->startAnnotationRegistry($config['annotationRegistry']);
     foreach ($config['drivers'] as $driver) {
         $driver = array_replace_recursive($defaultMetadataDriver, $driver);
         $reflClass = new \ReflectionClass($driver['adapterClass']);
         $nestedDriver = null;
         if ($reflClass->getName() == 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver' || $reflClass->isSubclassOf('Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver')) {
             $annotationReaderClass = $driver['annotationReaderClass'];
             $annotationReader = new $annotationReaderClass();
             $annotationReader->setDefaultAnnotationNamespace('Doctrine\\ORM\\Mapping\\');
             foreach ($driver['annotationReaderNamespaces'] as $alias => $namespace) {
                 $annotationReader->setAnnotationNamespaceAlias($namespace, $alias);
             }
             //$annotationReader->setIgnoreNotImportedAnnotations(false);
             $indexedReader = new \Doctrine\Common\Annotations\CachedReader(new \Doctrine\Common\Annotations\IndexedReader($annotationReader), $this->getCacheInstance($driver['annotationReaderCache']));
             $nestedDriver = $reflClass->newInstance($indexedReader, $driver['mappingDirs']);
         } else {
             $nestedDriver = $reflClass->newInstance($driver['mappingDirs']);
         }
         $metadataDriver->addDriver($nestedDriver, $driver['mappingNamespace']);
     }
     if (($drivers = $metadataDriver->getDrivers()) && count($drivers) == 1) {
         reset($drivers);
         $metadataDriver = $drivers[key($drivers)];
     }
     return $metadataDriver;
 }
 /**
  * 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;
 }
 /**
  * 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 \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 EM5069a9f6da3c1_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager A EM5069a9f6da3c1_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager instance.
  */
 protected function getDoctrine_Orm_DefaultEntityManagerService()
 {
     require_once '/var/www/bewelcome-symfony/app/cache/dev/jms_diextra/doctrine/EntityManager.php';
     $a = $this->get('annotation_reader');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_9694b3521313ed5b48327f1627efecc8');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_9694b3521313ed5b48327f1627efecc8');
     $d = new \Doctrine\Common\Cache\ArrayCache();
     $d->setNamespace('sf2orm_default_9694b3521313ed5b48327f1627efecc8');
     $e = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => '/var/www/bewelcome-symfony/src/BeWelcome/RoxBundle/Entity', 1 => '/var/www/bewelcome-symfony/src/BeWelcome/ProfileBundle/Entity'));
     $f = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $f->addDriver($e, 'BeWelcome\\RoxBundle\\Entity');
     $f->addDriver($e, 'BeWelcome\\ProfileBundle\\Entity');
     $g = new \Doctrine\ORM\Configuration();
     $g->setEntityNamespaces(array('BeWelcomeRoxBundle' => 'BeWelcome\\RoxBundle\\Entity', 'BeWelcomeProfileBundle' => 'BeWelcome\\ProfileBundle\\Entity'));
     $g->setMetadataCacheImpl($b);
     $g->setQueryCacheImpl($c);
     $g->setResultCacheImpl($d);
     $g->setMetadataDriverImpl($f);
     $g->setProxyDir('/var/www/bewelcome-symfony/app/cache/dev/doctrine/orm/Proxies');
     $g->setProxyNamespace('Proxies');
     $g->setAutoGenerateProxyClasses(true);
     $g->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $g->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $g->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy());
     $h = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $g);
     $this->get('doctrine.orm.default_manager_configurator')->configure($h);
     return $this->services['doctrine.orm.default_entity_manager'] = new \EM5069a9f6da3c1_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($h, $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_56627d1e6a0d1f20ea3fe7cd22ba5bd05412dd30da95e6ea9879c5a3b4c6244a');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_56627d1e6a0d1f20ea3fe7cd22ba5bd05412dd30da95e6ea9879c5a3b4c6244a');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_56627d1e6a0d1f20ea3fe7cd22ba5bd05412dd30da95e6ea9879c5a3b4c6244a');
     $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('C:\\xampp\\htdocs\\ClinicSoft\\src\\Patient\\PatientManagementBundle\\Resources\\config\\doctrine' => 'Patient\\PatientManagementBundle\\Entity'));
     $d->setGlobalBasename('mapping');
     $e = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $e->addDriver($d, 'Patient\\PatientManagementBundle\\Entity');
     $f = new \Doctrine\ORM\Configuration();
     $f->setEntityNamespaces(array('PatientManagementBundle' => 'Patient\\PatientManagementBundle\\Entity'));
     $f->setMetadataCacheImpl($a);
     $f->setQueryCacheImpl($b);
     $f->setResultCacheImpl($c);
     $f->setMetadataDriverImpl($e);
     $f->setProxyDir('C:/xampp/htdocs/ClinicSoft/app/cache/dev/doctrine/orm/Proxies');
     $f->setProxyNamespace('Proxies');
     $f->setAutoGenerateProxyClasses(true);
     $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory');
     $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
     $f->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'), $f);
     $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_a5785c059f9bba7d35970469cad0e14e');
     $b = new \Doctrine\Common\Cache\ArrayCache();
     $b->setNamespace('sf2orm_default_a5785c059f9bba7d35970469cad0e14e');
     $c = new \Doctrine\Common\Cache\ArrayCache();
     $c->setNamespace('sf2orm_default_a5785c059f9bba7d35970469cad0e14e');
     $d = new \Doctrine\ORM\Mapping\Driver\DriverChain();
     $d->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => 'C:\\wamp\\www\\projetsymfony\\src\\OC\\PlatformBundle\\Entity')), 'OC\\PlatformBundle\\Entity');
     $e = new \Doctrine\ORM\Configuration();
     $e->setEntityNamespaces(array('OCPlatformBundle' => 'OC\\PlatformBundle\\Entity'));
     $e->setMetadataCacheImpl($a);
     $e->setQueryCacheImpl($b);
     $e->setResultCacheImpl($c);
     $e->setMetadataDriverImpl($d);
     $e->setProxyDir('C:/wamp/www/projetsymfony/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 = 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;
 }