src/Packagist/Api/Result/Factory.php
public function createSearchResults(array $results)
    {
        $created = array();
        foreach ($results as $key => $result) {
            $created[$key] = $this->createResult('Packagist\Api\Result\Result', $result);
        }

        return $created;
    }
public function createSearchResults(array $results)
    {
        $created = array();
        foreach ($results as $key => $result) {
            $created[$key] = $this->createResult('Packagist\Api\Result\Result', $result);
        }

        return $created;
    }
public function createSearchResults ( array $ results ) { $ created = array ( ) ; foreach ( $ results as $ key => $ result ) { $ created [ $ key ] = $ this -> createResult ( 'Packagist\Api\Result\Result' , $ result ) ; } return $ created ; }
Create a collection of \Packagist\Api\Result\Result

@param array $results

@return array
Create a collection of \ Packagist \ Api \ Result \ Result