private function buildCollectionModels(array $items)
    {
        $modelcollection = [];

        foreach ($items as $item) {
            $class = new \ReflectionClass("\\DirkGroenen\\Pinterest\\Models\\" . $this->model);
            $modelcollection[] = $class->newInstanceArgs([$this->master, $item]);
        }

        return $modelcollection;
    }
private function buildCollectionModels(array $items)
    {
        $modelcollection = [];

        foreach ($items as $item) {
            $class = new \ReflectionClass("\\DirkGroenen\\Pinterest\\Models\\" . $this->model);
            $modelcollection[] = $class->newInstanceArgs([$this->master, $item]);
        }

        return $modelcollection;
    }
private function buildCollectionModels ( array $ items ) { $ modelcollection = [ ] ; foreach ( $ items as $ item ) { $ class = new \ ReflectionClass ( "\\DirkGroenen\\Pinterest\\Models\\" . $ this -> model ) ; $ modelcollection [ ] = $ class -> newInstanceArgs ( [ $ this -> master , $ item ] ) ; } return $ modelcollection ; }
Transform each raw item into a model

@access private
@param array $items
@return array
Transform each raw item into a model