src/Eloquent/BaseRepository.php
public function getManyPaginated($perPage = null, $columns = ['*'])
    {
        $query = $this->getQuery();
        $results = $query->paginate($perPage, $columns);

        return $this->returnResults($results);
    }
public function getManyPaginated($perPage = null, $columns = ['*'])
    {
        $query = $this->getQuery();
        $results = $query->paginate($perPage, $columns);

        return $this->returnResults($results);
    }
public function getManyPaginated ( $ perPage = null , $ columns = [ '*' ] ) { $ query = $ this -> getQuery ( ) ; $ results = $ query -> paginate ( $ perPage , $ columns ) ; return $ this -> returnResults ( $ results ) ; }
Find all models but paginated

@param null $perPage
@param array $columns
@return mixed
Find all models but paginated