var/cache/dev/ContainerBU7G59P/getNetzmacht_ContaoToolkit_CallbackInvokerService.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 getNetzmacht_ContaoToolkit_CallbackInvokerService extends Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'netzmacht.contao_toolkit.callback_invoker' shared service.
  12.      *
  13.      * @return \Netzmacht\Contao\Toolkit\Callback\Invoker
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/netzmacht/contao-toolkit/src/Callback/Invoker.php';
  18.         include_once \dirname(__DIR__4).'/vendor/contao/core-bundle/src/Framework/Adapter.php';
  19.         $a = ($container->privates['netzmacht.contao_toolkit.contao_services_factory'] ?? $container->load('getNetzmacht_ContaoToolkit_ContaoServicesFactoryService'));
  20.         if (isset($container->privates['netzmacht.contao_toolkit.callback_invoker'])) {
  21.             return $container->privates['netzmacht.contao_toolkit.callback_invoker'];
  22.         }
  23.         return $container->privates['netzmacht.contao_toolkit.callback_invoker'] = new \Netzmacht\Contao\Toolkit\Callback\Invoker($a->createSystemAdapter());
  24.     }
  25. }