public function setCollectors(array $collectors)
    {
        $this->collectors = [];
        foreach ($collectors as $collector) {
            $this->addCollector($collector);
        }
    }
public function setCollectors(array $collectors)
    {
        $this->collectors = [];
        foreach ($collectors as $collector) {
            $this->addCollector($collector);
        }
    }
public function setCollectors ( array $ collectors ) { $ this -> collectors = [ ] ; foreach ( $ collectors as $ collector ) { $ this -> addCollector ( $ collector ) ; } }
Sets the Collectors associated with this profile.

@param DataCollectorInterface[] $collectors
Sets the Collectors associated with this profile .