var/cache/dev/ContainerWihBT5P/getSonata_Core_Model_Adapter_ChainService.php line 9

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the public 'sonata.core.model.adapter.chain' shared service.
  6. @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);
  7. $this->services['sonata.core.model.adapter.chain'] = $instance = new \Sonata\CoreBundle\Model\Adapter\AdapterChain();
  8. $instance->addAdapter(($this->privates['sonata.core.model.adapter.doctrine_orm'] ?? $this->load('getSonata_Core_Model_Adapter_DoctrineOrmService.php')));
  9. return $instance;