var/cache/test/ContainerX74tA3D/getSharingHandlerService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerX74tA3D;
  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 getSharingHandlerService extends App_KernelTestDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'App\Service\Sharing\SharingHandler' shared autowired service.
  12.      *
  13.      * @return \App\Service\Sharing\SharingHandler
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/src/App/Service/Sharing/SharingHandlerInterface.php';
  18.         include_once \dirname(__DIR__4).'/src/App/Service/Sharing/SharingHandler.php';
  19.         $container->privates['App\\Service\\Sharing\\SharingHandler'] = $instance = new \App\Service\Sharing\SharingHandler(($container->services['Platform\\QueueBundle\\Service\\AsyncQueueService'] ?? $container->getAsyncQueueServiceService()));
  20.         $instance->addHandler(($container->privates['App\\Service\\Sharing\\ChannelHandler\\FacebookChannelHandler'] ?? $container->load('getFacebookChannelHandler2Service')), 16);
  21.         $instance->addHandler(($container->privates['App\\Service\\Sharing\\ChannelHandler\\InstagramChannelHandler'] ?? $container->load('getInstagramChannelHandler2Service')), 128);
  22.         $instance->addHandler(($container->privates['App\\Service\\Sharing\\ChannelHandler\\TwitterChannelHandler'] ?? $container->load('getTwitterChannelHandler2Service')), 32);
  23.         return $instance;
  24.     }
  25. }