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 = $this->get('annotation_reader'); $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '\\src\\Sdz\\BlogBundle\\Entity', 1 => $this->targetDirs[3] . '\\src\\Cert\\UserBundle\\Entity')); $c = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array($this->targetDirs[3] . '\\src\\Cert\\IncidentBundle\\Resources\\config\\doctrine' => 'Cert\\IncidentBundle\\Entity')); $c->setGlobalBasename('mapping'); $d = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $d->addDriver($b, 'Sdz\\BlogBundle\\Entity'); $d->addDriver($b, 'Cert\\UserBundle\\Entity'); $d->addDriver($c, 'Cert\\IncidentBundle\\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('SdzBlogBundle' => 'Sdz\\BlogBundle\\Entity', 'CertIncidentBundle' => 'Cert\\IncidentBundle\\Entity', 'CertUserBundle' => 'Cert\\UserBundle\\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(true); $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory'); $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository'); $e->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy()); $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.server_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_ServerEntityManagerService() { $a = new \Doctrine\Common\Cache\ArrayCache(); $a->setNamespace('sf2orm_server_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_server_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_server_2ad790d5859653d569e47bea55a872218b75bc6ecbff5bd84a78218349125b69'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('D:\\SiteRising\\src\\SiteRising\\AionServerBundle\\Resources\\config\\doctrine' => 'SiteRising\\AionServerBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $e->addDriver($d, 'SiteRising\\AionServerBundle\\Entity'); $f = new \Doctrine\ORM\Configuration(); $f->setEntityNamespaces(array('AionServerBundle' => 'SiteRising\\AionServerBundle\\Entity')); $f->setMetadataCacheImpl($a); $f->setQueryCacheImpl($b); $f->setResultCacheImpl($c); $f->setMetadataDriverImpl($e); $f->setProxyDir('D:/SiteRising/app/cache/dev/doctrine/orm/Proxies'); $f->setProxyNamespace('Proxies'); $f->setAutoGenerateProxyClasses(false); $f->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory'); $f->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository'); $f->setNamingStrategy($this->get('doctrine.orm.naming_strategy.default')); $this->services['doctrine.orm.server_entity_manager'] = $instance = \Doctrine\ORM\EntityManager::create($this->get('doctrine.dbal.server_connection'), $f); $this->get('doctrine.orm.server_manager_configurator')->configure($instance); return $instance; }
protected function getDoctrine_Orm_DefaultEntityManagerService() { $a = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array($this->targetDirs[3] . '\\src\\diser\\contractsBundle\\Resources\\config\\doctrine' => 'diser\\contractsBundle\\Entity')); $a->setGlobalBasename('mapping'); $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $b->addDriver($a, 'diser\\contractsBundle\\Entity'); $c = new \Doctrine\ORM\Configuration(); $c->setEntityNamespaces(array('disercontractsBundle' => 'diser\\contractsBundle\\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\UnderscoreNamingStrategy()); $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\ORM\Mapping\Driver\SimplifiedYamlDriver(array($this->targetDirs[3] . '/src/DsCorp/Equipo/EquipoBundle/Resources/config/doctrine' => 'DsCorp\\Equipo\\EquipoBundle\\Entity', $this->targetDirs[3] . '/src/DsCorp/Empresa/EmpresaBundle/Resources/config/doctrine' => 'DsCorp\\Empresa\\EmpresaBundle\\Entity', $this->targetDirs[3] . '/src/DsCorp/General/GeneralBundle/Resources/config/doctrine' => 'DsCorp\\General\\GeneralBundle\\Entity', $this->targetDirs[3] . '/src/DsCorp/Fabricante/FabricanteBundle/Resources/config/doctrine' => 'DsCorp\\Fabricante\\FabricanteBundle\\Entity', $this->targetDirs[3] . '/src/DsCorp/Cliente/ClienteBundle/Resources/config/doctrine' => 'DsCorp\\Cliente\\ClienteBundle\\Entity', $this->targetDirs[3] . '/src/DsCorp/Personal/PersonalBundle/Resources/config/doctrine' => 'DsCorp\\Personal\\PersonalBundle\\Entity')); $a->setGlobalBasename('mapping'); $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $b->addDriver($a, 'DsCorp\\Equipo\\EquipoBundle\\Entity'); $b->addDriver($a, 'DsCorp\\Empresa\\EmpresaBundle\\Entity'); $b->addDriver($a, 'DsCorp\\General\\GeneralBundle\\Entity'); $b->addDriver($a, 'DsCorp\\Fabricante\\FabricanteBundle\\Entity'); $b->addDriver($a, 'DsCorp\\Cliente\\ClienteBundle\\Entity'); $b->addDriver($a, 'DsCorp\\Personal\\PersonalBundle\\Entity'); $c = new \Doctrine\ORM\Configuration(); $c->setEntityNamespaces(array('EquipoBundle' => 'DsCorp\\Equipo\\EquipoBundle\\Entity', 'EmpresaBundle' => 'DsCorp\\Empresa\\EmpresaBundle\\Entity', 'GeneralBundle' => 'DsCorp\\General\\GeneralBundle\\Entity', 'FabricanteBundle' => 'DsCorp\\Fabricante\\FabricanteBundle\\Entity', 'ClienteBundle' => 'DsCorp\\Cliente\\ClienteBundle\\Entity', 'PersonalBundle' => 'DsCorp\\Personal\\PersonalBundle\\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\UnderscoreNamingStrategy()); $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_d642066c86f198aaa930684c08032cda0a57203b6209b19294a143853326dd55'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_default_d642066c86f198aaa930684c08032cda0a57203b6209b19294a143853326dd55'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_default_d642066c86f198aaa930684c08032cda0a57203b6209b19294a143853326dd55'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('/home/ivan/symfony2/proyecto/src/Uni/Bundle/ProyectoBundle/Resources/config/doctrine' => 'Uni\\Bundle\\ProyectoBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $e->addDriver($d, 'Uni\\Bundle\\ProyectoBundle\\Entity'); $f = new \Doctrine\ORM\Configuration(); $f->setEntityNamespaces(array('uniProyectoBundle' => 'Uni\\Bundle\\ProyectoBundle\\Entity')); $f->setMetadataCacheImpl($a); $f->setQueryCacheImpl($b); $f->setResultCacheImpl($c); $f->setMetadataDriverImpl($e); $f->setProxyDir('/home/ivan/symfony2/proyecto/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 = \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 EntityManager51608a7704369_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager A EntityManager51608a7704369_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager instance. */ protected function getDoctrine_Orm_DefaultEntityManagerService() { require_once '/home/markus/development/php.labs/symfony/app/cache/dev/jms_diextra/doctrine/EntityManager_51608a7704369.php'; $a = new \Doctrine\Common\Cache\ArrayCache(); $a->setNamespace('sf2orm_default_1f474d7255df8ad758b666714222d890'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_default_1f474d7255df8ad758b666714222d890'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_default_1f474d7255df8ad758b666714222d890'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('/home/markus/development/php.labs/symfony/src/Mtol/TodoBundle/Resources/config/doctrine' => 'Mtol\\TodoBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $e->addDriver(new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($this->get('annotation_reader'), array(0 => '/home/markus/development/php.labs/symfony/src/Acme/StoreBundle/Entity')), 'Acme\\StoreBundle\\Entity'); $e->addDriver($d, 'Mtol\\TodoBundle\\Entity'); $f = new \Doctrine\ORM\Configuration(); $f->setEntityNamespaces(array('AcmeStoreBundle' => 'Acme\\StoreBundle\\Entity', 'MtolTodoBundle' => 'Mtol\\TodoBundle\\Entity')); $f->setMetadataCacheImpl($a); $f->setQueryCacheImpl($b); $f->setResultCacheImpl($c); $f->setMetadataDriverImpl($e); $f->setProxyDir('/home/markus/development/php.labs/symfony/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()); $g = call_user_func(array('Doctrine\\ORM\\EntityManager', 'create'), $this->get('doctrine.dbal.default_connection'), $f); $this->get('doctrine.orm.default_manager_configurator')->configure($g); return $this->services['doctrine.orm.default_entity_manager'] = new \EntityManager51608a7704369_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM\EntityManager($g, $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\ORM\Mapping\Driver\SimplifiedXmlDriver(array(($this->targetDirs[3].'/vendor/friendsofsymfony/user-bundle/FOS/UserBundle/Resources/config/doctrine') => 'FOS\\UserBundle\\Entity')); $a->setGlobalBasename('mapping'); $b = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array(($this->targetDirs[3].'/src/SeekerPlus/UserBundle/Resources/config/doctrine') => 'SeekerPlus\\UserBundle\\Entity', ($this->targetDirs[3].'/src/SeekerPlus/AdsmanagerBundle/Resources/config/doctrine') => 'SeekerPlus\\AdsmanagerBundle\\Entity', ($this->targetDirs[3].'/src/SeekerPlus/BannerBundle/Resources/config/doctrine') => 'SeekerPlus\\BannerBundle\\Entity')); $b->setGlobalBasename('mapping'); $c = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $c->addDriver($a, 'FOS\\UserBundle\\Entity'); $c->addDriver($b, 'SeekerPlus\\UserBundle\\Entity'); $c->addDriver($b, 'SeekerPlus\\AdsmanagerBundle\\Entity'); $c->addDriver($b, 'SeekerPlus\\BannerBundle\\Entity'); $d = new \Doctrine\ORM\Configuration(); $d->setEntityNamespaces(array('FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'UserBundle' => 'SeekerPlus\\UserBundle\\Entity', 'AdsmanagerBundle' => 'SeekerPlus\\AdsmanagerBundle\\Entity', 'BannerBundle' => 'SeekerPlus\\BannerBundle\\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')); $d->addCustomNumericFunction('acos', 'Swis\\Bundle\\DatabaseExtraBundle\\DQL\\Acos'); $d->addCustomNumericFunction('cos', 'Swis\\Bundle\\DatabaseExtraBundle\\DQL\\Cos'); $d->addCustomNumericFunction('radians', 'Swis\\Bundle\\DatabaseExtraBundle\\DQL\\Radians'); $d->addCustomNumericFunction('sin', 'Swis\\Bundle\\DatabaseExtraBundle\\DQL\\Sin'); $d->addCustomNumericFunction('round', 'Swis\\Bundle\\DatabaseExtraBundle\\DQL\\Round'); $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_7dd752966f9edd97187e470f996aadb9b313c86a876fa36a1424c5f92b90245d'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_default_7dd752966f9edd97187e470f996aadb9b313c86a876fa36a1424c5f92b90245d'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_default_7dd752966f9edd97187e470f996aadb9b313c86a876fa36a1424c5f92b90245d'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('D:\\wamp\\www\\BettingEsport\\src\\BettingEsport\\MatchBundle\\Resources\\config\\doctrine' => 'BettingEsport\\MatchBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $e->addDriver($d, 'BettingEsport\\MatchBundle\\Entity'); $f = new \Doctrine\ORM\Configuration(); $f->setEntityNamespaces(array('BettingEsportMatchBundle' => 'BettingEsport\\MatchBundle\\Entity')); $f->setMetadataCacheImpl($a); $f->setQueryCacheImpl($b); $f->setResultCacheImpl($c); $f->setMetadataDriverImpl($e); $f->setProxyDir('D:/wamp/www/BettingEsport/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 = \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_244c97e43c0d4ab1cc5feabeac8ace647585e3b469dd932afb9139d3792ba817'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_default_244c97e43c0d4ab1cc5feabeac8ace647585e3b469dd932afb9139d3792ba817'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_default_244c97e43c0d4ab1cc5feabeac8ace647585e3b469dd932afb9139d3792ba817'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver(array('C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine' => 'FOS\\UserBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\BlogBundle\\Resources\\config\\doctrine' => 'Chakosh\\BlogBundle\\Entity', 'C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\SecurityBundle\\Resources\\config\\doctrine' => 'Chakosh\\SecurityBundle\\Entity', 'C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\UploadBundle\\Resources\\config\\doctrine' => 'Chakosh\\UploadBundle\\Entity', 'C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\CommentBundle\\Resources\\config\\doctrine' => 'Chakosh\\CommentBundle\\Entity', 'C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\OptionsBundle\\Resources\\config\\doctrine' => 'Chakosh\\OptionsBundle\\Entity', 'C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\src\\Chakosh\\NewsBundle\\Resources\\config\\doctrine' => 'Chakosh\\NewsBundle\\Entity')); $e->setGlobalBasename('mapping'); $f = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $f->addDriver($d, 'FOS\\UserBundle\\Entity'); $f->addDriver($e, 'Chakosh\\BlogBundle\\Entity'); $f->addDriver($e, 'Chakosh\\SecurityBundle\\Entity'); $f->addDriver($e, 'Chakosh\\UploadBundle\\Entity'); $f->addDriver($e, 'Chakosh\\CommentBundle\\Entity'); $f->addDriver($e, 'Chakosh\\OptionsBundle\\Entity'); $f->addDriver($e, 'Chakosh\\NewsBundle\\Entity'); $f->addDriver(new \Doctrine\ORM\Mapping\Driver\XmlDriver(new \Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator(array('C:\\Users\\AmirMasoud-15\\Desktop\\Moving\\Symfony\\vendor\\friendsofsymfony\\user-bundle\\FOS\\UserBundle\\Resources\\config\\doctrine\\model' => 'FOS\\UserBundle\\Model'), '.orm.xml')), 'FOS\\UserBundle\\Model'); $g = new \Doctrine\ORM\Configuration(); $g->setEntityNamespaces(array('FOSUserBundle' => 'FOS\\UserBundle\\Entity', 'ChakoshBlogBundle' => 'Chakosh\\BlogBundle\\Entity', 'ChakoshSecurityBundle' => 'Chakosh\\SecurityBundle\\Entity', 'ChakoshUploadBundle' => 'Chakosh\\UploadBundle\\Entity', 'ChakoshCommentBundle' => 'Chakosh\\CommentBundle\\Entity', 'ChakoshOptionsBundle' => 'Chakosh\\OptionsBundle\\Entity', 'ChakoshNewsBundle' => 'Chakosh\\NewsBundle\\Entity')); $g->setMetadataCacheImpl($a); $g->setQueryCacheImpl($b); $g->setResultCacheImpl($c); $g->setMetadataDriverImpl($f); $g->setProxyDir('C:/Users/AmirMasoud-15/Desktop/Moving/Symfony/app/cache/prod/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()); $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 = $this->get('annotation_reader'); $b = new \Doctrine\ORM\Mapping\Driver\AnnotationDriver($a, array(0 => $this->targetDirs[3] . '/src/AppBundle/Entity', 1 => $this->targetDirs[3] . '/src/My/RecipesBundle/Entity')); $c = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array($this->targetDirs[3] . '/src/Cambi/GestionBundle/Resources/config/doctrine' => 'Cambi\\GestionBundle\\Entity')); $c->setGlobalBasename('mapping'); $d = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $d->addDriver($b, 'AppBundle\\Entity'); $d->addDriver($b, 'My\\RecipesBundle\\Entity'); $d->addDriver($c, 'Cambi\\GestionBundle\\Entity'); $e = new \Doctrine\ORM\Configuration(); $e->setEntityNamespaces(array('AppBundle' => 'AppBundle\\Entity', 'MyRecipesBundle' => 'My\\RecipesBundle\\Entity', 'CambiGestionBundle' => 'Cambi\\GestionBundle\\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(true); $e->setClassMetadataFactoryName('Doctrine\\ORM\\Mapping\\ClassMetadataFactory'); $e->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository'); $e->setNamingStrategy(new \Doctrine\ORM\Mapping\DefaultNamingStrategy()); $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\SimplifiedYamlDriver(array('/Users/marcu/Projects/Chill/vendor/chill-project/activity/vendor/chill-project/main/Resources/config/doctrine' => 'Chill\\MainBundle\\Entity', '/Users/marcu/Projects/Chill/vendor/chill-project/activity/vendor/chill-project/custom-fields/Resources/config/doctrine' => 'Chill\\CustomFieldsBundle\\Entity', '/Users/marcu/Projects/Chill/vendor/chill-project/activity/vendor/chill-project/person/Resources/config/doctrine' => 'Chill\\PersonBundle\\Entity', '/Users/marcu/Projects/Chill/vendor/chill-project/activity/Resources/config/doctrine' => 'Chill\\ActivityBundle\\Entity')); $a->setGlobalBasename('mapping'); $b = new \Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain(); $b->addDriver($a, 'Chill\\MainBundle\\Entity'); $b->addDriver($a, 'Chill\\CustomFieldsBundle\\Entity'); $b->addDriver($a, 'Chill\\PersonBundle\\Entity'); $b->addDriver($a, 'Chill\\ActivityBundle\\Entity'); $c = new \Doctrine\ORM\Configuration(); $c->setEntityNamespaces(array('ChillMainBundle' => 'Chill\\MainBundle\\Entity', 'ChillCustomFieldsBundle' => 'Chill\\CustomFieldsBundle\\Entity', 'ChillPersonBundle' => 'Chill\\PersonBundle\\Entity', 'ChillActivityBundle' => 'Chill\\ActivityBundle\\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('/Users/marcu/Projects/Chill/vendor/chill-project/activity/Tests/Fixtures/App/app/cache/dev/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')); $c->addCustomStringFunction('unaccent', 'Chill\\MainBundle\\Doctrine\\DQL\\Unaccent'); $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_7542c992ca0bfcd23d14ce3f9a3d7e39'); $b = new \Doctrine\Common\Cache\ArrayCache(); $b->setNamespace('sf2orm_default_7542c992ca0bfcd23d14ce3f9a3d7e39'); $c = new \Doctrine\Common\Cache\ArrayCache(); $c->setNamespace('sf2orm_default_7542c992ca0bfcd23d14ce3f9a3d7e39'); $d = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver(array('/Applications/XAMPP/xamppfiles/htdocs/book_shop/src/Ibw/JobeetBundle/Resources/config/doctrine' => 'Ibw\\JobeetBundle\\Entity', '/Applications/XAMPP/xamppfiles/htdocs/book_shop/src/Admin/ManageBundle/Resources/config/doctrine' => 'Admin\\ManageBundle\\Entity')); $d->setGlobalBasename('mapping'); $e = new \Doctrine\ORM\Mapping\Driver\DriverChain(); $e->addDriver($d, 'Ibw\\JobeetBundle\\Entity'); $e->addDriver($d, 'Admin\\ManageBundle\\Entity'); $f = new \Doctrine\ORM\Configuration(); $f->setEntityNamespaces(array('IbwJobeetBundle' => 'Ibw\\JobeetBundle\\Entity', 'AdminManageBundle' => 'Admin\\ManageBundle\\Entity')); $f->setMetadataCacheImpl($a); $f->setQueryCacheImpl($b); $f->setResultCacheImpl($c); $f->setMetadataDriverImpl($e); $f->setProxyDir('/Applications/XAMPP/xamppfiles/htdocs/book_shop/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; }