private function registerProfilerConfiguration(array $config, XmlFileLoader $loader)
    {
        if ($config['enabled'] && $config['collect'] && class_exists('Symfony\Component\Debug\Debug')) {
            $loader->load('block_debug.xml');
            $loader->load('collectors.xml');
        }
    }