public function parse(Collection $completedProcesses): ResultCollection
    {
        $this->resultsCollection = new ResultCollection;

        foreach ($completedProcesses as $file => $processes) {
            $this->parseCompletedProcessesForFile($file, $processes);
        }

        return $this->resultsCollection;
    }
public function parse(Collection $completedProcesses): ResultCollection
    {
        $this->resultsCollection = new ResultCollection;

        foreach ($completedProcesses as $file => $processes) {
            $this->parseCompletedProcessesForFile($file, $processes);
        }

        return $this->resultsCollection;
    }
public function parse ( Collection $ completedProcesses ) : ResultCollection { $ this -> resultsCollection = new ResultCollection ; foreach ( $ completedProcesses as $ file => $ processes ) { $ this -> parseCompletedProcessesForFile ( $ file , $ processes ) ; } return $ this -> resultsCollection ; }
Turns a collection of completed processes into a
collection of parsed result objects.
@param Collection $completedProcesses Collection of completed processes.
@return ResultCollection
Turns a collection of completed processes into a collection of parsed result objects .