use Symfony\Component\HttpKernel\DataCollector\EventDataCollector;
use Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector;
use Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector;
use Symfony\Component\HttpKernel\DataCollector\MemoryDataCollector;
use Symfony\Component\HttpKernel\DataCollector\RequestDataCollector;
use Symfony\Component\HttpKernel\DataCollector\TimeDataCollector;
use Symfony\Component\HttpKernel\KernelEvents;
return static function DContainerConfigurator
$container) { $container->
services() ->
set('data_collector.config', ConfigDataCollector::
class) ->
call('setKernel',
[service('kernel'
)->
ignoreOnInvalid()]) ->
tag('data_collector',
['template' => '@WebProfiler/Collector/config.html.twig', 'id' => 'config', 'priority' => -255
]) ->
set('data_collector.request', RequestDataCollector::
class) ->
args([ service('request_stack'
)->
ignoreOnInvalid(),
]) ->
tag('kernel.event_subscriber'
) ->
tag('data_collector',
['template' => '@WebProfiler/Collector/request.html.twig', 'id' => 'request', 'priority' => 335
]) ->
set('data_collector.request.session_collector', \Closure::
class) ->
factory([\Closure::
class, 'fromCallable'
])