public function collectData()
    {
        $collectedData = [];

        foreach ($this->dataCollectors as $collector) {
            $collectedData = $collectedData + $collector->collect();
        }

        return $collectedData;
    }
public function collectData()
    {
        $collectedData = [];

        foreach ($this->dataCollectors as $collector) {
            $collectedData = $collectedData + $collector->collect();
        }

        return $collectedData;
    }
public function collectData ( ) { $ collectedData = [ ] ; foreach ( $ this -> dataCollectors as $ collector ) { $ collectedData = $ collectedData + $ collector -> collect ( ) ; } return $ collectedData ; }
Collects all data from data collectors.

@return array
Collects all data from data collectors .