public function Profile::addCollector in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Profiler/Profile.php \Symfony\Component\HttpKernel\Profiler\Profile::addCollector()
Adds a Collector.
Parameters
DataCollectorInterface $collector A DataCollectorInterface instance:
1 call to Profile::addCollector()
- Profile::setCollectors in vendor/
symfony/ http-kernel/ Profiler/ Profile.php - Sets the Collectors associated with this profile.
File
- vendor/
symfony/ http-kernel/ Profiler/ Profile.php, line 271
Class
- Profile
- Profile.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
public function addCollector(DataCollectorInterface $collector) {
$this->collectors[$collector
->getName()] = $collector;
}