var/cache/dev/ContainerRqcFurT/getUx_LiveComponent_AddAttributesSubscriberService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerRqcFurT;
  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 getUx_LiveComponent_AddAttributesSubscriberService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the private 'ux.live_component.add_attributes_subscriber' shared service.
  12. *
  13. * @return \Symfony\UX\LiveComponent\EventListener\AddLiveAttributesSubscriber
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 4).'/vendor/symfony/ux-live-component/src/EventListener/AddLiveAttributesSubscriber.php';
  18. include_once \dirname(__DIR__, 4).'/vendor/symfony/ux-twig-component/src/ComponentStack.php';
  19. include_once \dirname(__DIR__, 4).'/vendor/symfony/ux-live-component/src/Twig/TemplateMap.php';
  20. $a = ($container->services['.container.private.twig'] ?? $container->get_Container_Private_TwigService());
  21. if (isset($container->privates['ux.live_component.add_attributes_subscriber'])) {
  22. return $container->privates['ux.live_component.add_attributes_subscriber'];
  23. }
  24. return $container->privates['ux.live_component.add_attributes_subscriber'] = new \Symfony\UX\LiveComponent\EventListener\AddLiveAttributesSubscriber(($container->privates['ux.twig_component.component_stack'] ?? ($container->privates['ux.twig_component.component_stack'] = new \Symfony\UX\TwigComponent\ComponentStack())), ($container->privates['ux.live_component.twig.template_mapper'] ?? ($container->privates['ux.live_component.twig.template_mapper'] = new \Symfony\UX\LiveComponent\Twig\TemplateMap(($container->targetDir.''.'/live_components_twig_templates.map')))), $a, (new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [
  25. 'Symfony\\UX\\LiveComponent\\Util\\LiveControllerAttributesCreator' => ['privates', 'ux.live_component.live_controller_attributes_creator', 'getUx_LiveComponent_LiveControllerAttributesCreatorService', true],
  26. ], [
  27. 'Symfony\\UX\\LiveComponent\\Util\\LiveControllerAttributesCreator' => 'Symfony\\UX\\LiveComponent\\Util\\LiveControllerAttributesCreator',
  28. ]))->withContext('ux.live_component.add_attributes_subscriber', $container));
  29. }
  30. }