var/cache/dev/ContainerBU7G59P/getDoctrineOrmHelperService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerBU7G59P;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getDoctrineOrmHelperService extends Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'Codefog\HasteBundle\DoctrineOrmHelper' shared autowired service.
  12.      *
  13.      * @return \Codefog\HasteBundle\DoctrineOrmHelper
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/codefog/contao-haste/src/DoctrineOrmHelper.php';
  18.         $a = ($container->services['contao.framework'] ?? $container->getContao_FrameworkService());
  19.         if (isset($container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'])) {
  20.             return $container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'];
  21.         }
  22.         $b = ($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService());
  23.         if (isset($container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'])) {
  24.             return $container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'];
  25.         }
  26.         $c = ($container->services['Codefog\\HasteBundle\\DcaRelationsManager'] ?? $container->load('getDcaRelationsManagerService'));
  27.         if (isset($container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'])) {
  28.             return $container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'];
  29.         }
  30.         $d = ($container->services['router'] ?? $container->getRouterService());
  31.         if (isset($container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'])) {
  32.             return $container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'];
  33.         }
  34.         return $container->services['Codefog\\HasteBundle\\DoctrineOrmHelper'] = new \Codefog\HasteBundle\DoctrineOrmHelper($a$b$c$d, ($container->services['security.helper'] ?? $container->getSecurity_HelperService()));
  35.     }
  36. }