Files
tonehaus/var/cache/dev/Container2Z662Li/getForm_ServerParamsService.php
2025-10-31 22:09:19 +00:00

26 lines
925 B
PHP

<?php
namespace Container2Z662Li;
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 getForm_ServerParamsService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'form.server_params' shared service.
*
* @return \Symfony\Component\Form\Util\ServerParams
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/form/Util/ServerParams.php';
return $container->privates['form.server_params'] = new \Symfony\Component\Form\Util\ServerParams(($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
}
}