Adds a Collector.
DataCollectorInterface $collector A DataCollectorInterface instance:
public function add(DataCollectorInterface $collector) { $this->collectors[$collector ->getName()] = $collector; }