src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php
protected static function registerBaseCollectors(
        ContainerInterface $container,
        ProfilerContract $profiler,
        array $options
    ): void {
        if ($options['collector']['time']) {
            $profiler->addCollector(new TimeDataCollector(
                $container->get(ServerRequestInterface::class)
            ));
        }

        if ($options['collector']['memory']) {
            $profiler->addCollector(new MemoryDataCollector());
        }

        if ($options['collector']['ajax']) {
            $profiler->addCollector(new AjaxRequestsDataCollector());
        }

        if ($options['collector']['phpinfo']) {
            $profiler->addCollector(new PhpInfoDataCollector());
        }
    }
protected static function registerBaseCollectors(
        ContainerInterface $container,
        ProfilerContract $profiler,
        array $options
    ): void {
        if ($options['collector']['time']) {
            $profiler->addCollector(new TimeDataCollector(
                $container->get(ServerRequestInterface::class)
            ));
        }

        if ($options['collector']['memory']) {
            $profiler->addCollector(new MemoryDataCollector());
        }

        if ($options['collector']['ajax']) {
            $profiler->addCollector(new AjaxRequestsDataCollector());
        }

        if ($options['collector']['phpinfo']) {
            $profiler->addCollector(new PhpInfoDataCollector());
        }
    }
Register base collectors.

@param \Psr\Container\ContainerInterface             $container
@param \Viserio\Component\Contract\Profiler\Profiler $profiler
@param array                                         $options

@return void