Sets the Collectors associated with this profiler.
DataCollectorInterface[] $collectors An array of collectors:
public function set(array $collectors = []) : void { $this->collectors = []; foreach ($collectors as $collector) { $this->add($collector); } }