<?php

namespace Container6e3Xv1p;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getContao_Twig_LegacyTemplateFunctionsRuntimeService extends Contao_ManagerBundle_HttpKernel_ContaoKernelDevDebugContainer
{
    /**
     * Gets the private 'contao.twig.legacy_template_functions_runtime' shared service.
     *
     * @return \Contao\CoreBundle\Twig\Runtime\LegacyTemplateFunctionsRuntime
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/twig/twig/src/Extension/RuntimeExtensionInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/contao/core-bundle/src/Twig/Runtime/LegacyTemplateFunctionsRuntime.php';

        return $container->privates['contao.twig.legacy_template_functions_runtime'] = new \Contao\CoreBundle\Twig\Runtime\LegacyTemplateFunctionsRuntime(($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())), ($container->services['contao.framework'] ?? $container->getContao_FrameworkService()), ($container->services['contao.routing.scope_matcher'] ?? $container->getContao_Routing_ScopeMatcherService()));
    }
}
