var/cache/dev/ContainerNegrjuc/getSonata_Core_Model_Adapter_ChainService.php line 12

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  4. // Returns the public 'sonata.core.model.adapter.chain' shared service.
  5. @trigger_error('The "sonata.core.model.adapter.chain" service is deprecated in favor of service "sonata.doctrine.model.adapter.chain" since 3.12.0 and will be removed in 4.0.'E_USER_DEPRECATED);
  6. $this->services['sonata.core.model.adapter.chain'] = $instance = new \Sonata\CoreBundle\Model\Adapter\AdapterChain();
  7. $instance->addAdapter(${($_ = isset($this->services['sonata.core.model.adapter.doctrine_orm']) ? $this->services['sonata.core.model.adapter.doctrine_orm'] : $this->load('getSonata_Core_Model_Adapter_DoctrineOrmService.php')) && false ?: '_'});
  8. return $instance;