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

31 lines
1.2 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 getConsole_Command_RouterMatchService extends App_KernelProdContainer
{
/*
* Gets the private 'console.command.router_match' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\RouterMatchCommand
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['console.command.router_match'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\RouterMatchCommand(($container->services['router'] ?? self::getRouterService($container)), new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['router.expression_language_provider'] ?? self::getRouter_ExpressionLanguageProviderService($container));
}, 1));
$instance->setName('router:match');
$instance->setDescription('Help debug routes by simulating a path info match');
return $instance;
}
}