caisse-bliss/var/cache/dev/Container8QzW1yw/getForm_ServerParamsService.php

25 lines
904 B
PHP

<?php
namespace Container8QzW1yw;
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 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'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack())));
}
}