src/DependencyInjection/EightPointsGuzzleExtension.php
protected function defineDataCollector(ContainerBuilder $container, float $slowResponseTime)
    {
        $dataCollectorDefinition = new Definition('%eight_points_guzzle.data_collector.class%');
        $dataCollectorDefinition->addArgument(new Reference('eight_points_guzzle.logger'));
        $dataCollectorDefinition->addArgument($slowResponseTime);
        $dataCollectorDefinition->setPublic(false);
        $dataCollectorDefinition->addTag('data_collector', [
            'id' => 'eight_points_guzzle',
            'template' => '@EightPointsGuzzle/debug.html.twig',
        ]);
        $container->setDefinition('eight_points_guzzle.data_collector', $dataCollectorDefinition);
    }
protected function defineDataCollector(ContainerBuilder $container, float $slowResponseTime)
    {
        $dataCollectorDefinition = new Definition('%eight_points_guzzle.data_collector.class%');
        $dataCollectorDefinition->addArgument(new Reference('eight_points_guzzle.logger'));
        $dataCollectorDefinition->addArgument($slowResponseTime);
        $dataCollectorDefinition->setPublic(false);
        $dataCollectorDefinition->addTag('data_collector', [
            'id' => 'eight_points_guzzle',
            'template' => '@EightPointsGuzzle/debug.html.twig',
        ]);
        $container->setDefinition('eight_points_guzzle.data_collector', $dataCollectorDefinition);
    }
protected function defineDataCollector ( ContainerBuilder $ container , float $ slowResponseTime ) { $ dataCollectorDefinition = new Definition ( '%eight_points_guzzle.data_collector.class%' ) ; $ dataCollectorDefinition -> addArgument ( new Reference ( 'eight_points_guzzle.logger' ) ) ; $ dataCollectorDefinition -> addArgument ( $ slowResponseTime ) ; $ dataCollectorDefinition -> setPublic ( false ) ; $ dataCollectorDefinition -> addTag ( 'data_collector' , [ 'id' => 'eight_points_guzzle' , 'template' => '@EightPointsGuzzle/debug.html.twig' , ] ) ; $ container -> setDefinition ( 'eight_points_guzzle.data_collector' , $ dataCollectorDefinition ) ; }
Define Data Collector

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
@param float $slowResponseTime

@throws \Symfony\Component\DependencyInjection\Exception\BadMethodCallException

@return void
Define Data Collector