webroot/var/cache/prod/ContainerEvwr5zZ/get_Ux_TwigComponent_Twig_ComponentRuntimeService.php

40 lines
2.0 KiB
PHP

<?php
namespace ContainerEvwr5zZ;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class get_Ux_TwigComponent_Twig_ComponentRuntimeService extends App_KernelProdContainer
{
/*
* Gets the private '.ux.twig_component.twig.component_runtime' shared service.
*
* @return \Symfony\UX\TwigComponent\Twig\ComponentRuntime
*/
public static function do($container, $lazyLoad = true)
{
$a = ($container->privates['twig'] ?? $container->load('getTwigService'));
if (isset($container->privates['.ux.twig_component.twig.component_runtime'])) {
return $container->privates['.ux.twig_component.twig.component_runtime'];
}
$b = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));
if (isset($container->privates['.ux.twig_component.twig.component_runtime'])) {
return $container->privates['.ux.twig_component.twig.component_runtime'];
}
$c = ($container->privates['ux.twig_component.component_factory'] ?? $container->load('getUx_TwigComponent_ComponentFactoryService'));
if (isset($container->privates['.ux.twig_component.twig.component_runtime'])) {
return $container->privates['.ux.twig_component.twig.component_runtime'];
}
return $container->privates['.ux.twig_component.twig.component_runtime'] = new \Symfony\UX\TwigComponent\Twig\ComponentRuntime(new \Symfony\UX\TwigComponent\ComponentRenderer($a, $b, $c, ($container->privates['property_accessor'] ?? self::getPropertyAccessorService($container)), new \Symfony\UX\TwigComponent\ComponentStack()), ($container->privates['.service_locator.Xbsa8iG'] ??= new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [], [])));
}
}