You are here

public function Profile::hasCollector in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profile.php \Symfony\Component\HttpKernel\Profiler\Profile::hasCollector()

Returns true if a Collector for the given name exists.

Parameters

string $name A collector name:

Return value

bool

File

vendor/symfony/http-kernel/Profiler/Profile.php, line 283

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function hasCollector($name) {
  return isset($this->collectors[$name]);
}