simplePaginate() public method

This is more efficient on larger data-sets, etc.
public simplePaginate ( integer $perPage = 15, array $columns = ['*'], string $pageName = 'page', integer | null $page = null ) : Illuminate\Contracts\Pagination\Paginator
$perPage integer
$columns array
$pageName string
$page integer | null
return Illuminate\Contracts\Pagination\Paginator
 /**
  * Get a paginator only supporting simple next and previous links.
  *
  * This is more efficient on larger data-sets, etc.
  *
  * @param int   $perPage count of list
  * @param array $columns get columns
  * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
  */
 public function simplePaginate($perPage, array $columns = ['*'])
 {
     if ($this->dynamic === false) {
         $this->query->simplePaginate($perPage, $columns);
     }
     if ($this->proxy === true) {
         $this->query = $this->getProxyManager()->get($this->query);
     }
     return $this->query->simplePaginate($perPage, $columns);
 }
 /**
  * Get a paginator only supporting simple next and previous links.
  *
  * This is more efficient on larger data-sets, etc.
  *
  * @param int    $perPage  count of list
  * @param array  $columns  get columns
  * @param string $pageName page parameter name
  * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
  */
 public function simplePaginate($perPage = 15, $columns = ['*'], $pageName = 'page')
 {
     if ($this->dynamic === false) {
         parent::simplePaginate($perPage, $columns);
     }
     if ($this->proxy === true) {
         $this->getProxyManager()->get($this);
     }
     return parent::simplePaginate($perPage, $columns);
 }