public function createModels($rows)
    {
        $models = [];
        foreach ($rows as $row) {
            $models[] = $this->createModel($row);
        }

        return $models;
    }
public function createModels($rows)
    {
        $models = [];
        foreach ($rows as $row) {
            $models[] = $this->createModel($row);
        }

        return $models;
    }
public function createModels ( $ rows ) { $ models = [ ] ; foreach ( $ rows as $ row ) { $ models [ ] = $ this -> createModel ( $ row ) ; } return $ models ; }
Converts found rows into model instances.

@param array $rows

@return array|ModelInterface[]
Converts found rows into model instances .