You are here

public function Profiler::has in Zircon Profile 8.0

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

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/Profiler.php, line 259

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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