Skip to content

Instantly share code, notes, and snippets.

@leopro
Created January 17, 2013 17:58
Show Gist options
  • Save leopro/4558020 to your computer and use it in GitHub Desktop.
Save leopro/4558020 to your computer and use it in GitHub Desktop.
<?php
$profiler = $this->client->getKernel()->getContainer()->get('profiler');
$collectors = $profiler->all();
foreach ($collectors as $collector) {
echo get_class($collector) . "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment