public function paginate($num = 15)
	{
		$page = (int) Input::get('page', 1);
		
		$this->limit($num, ($page - 1) * $num);
		
		return new LengthAwarePaginator($this->get(), $this->count(), $num, $page);
	}
public function paginate($num = 15)
	{
		$page = (int) Input::get('page', 1);
		
		$this->limit($num, ($page - 1) * $num);
		
		return new LengthAwarePaginator($this->get(), $this->count(), $num, $page);
	}
public function paginate ( $ num = 15 ) { $ page = ( int ) Input :: get ( 'page' , 1 ) ; $ this -> limit ( $ num , ( $ page - 1 ) * $ num ) ; return new LengthAwarePaginator ( $ this -> get ( ) , $ this -> count ( ) , $ num , $ page ) ; }
Execute the current query and return a paginator for the results.

@param int $num

@return \Illuminate\Pagination\LengthAwarePaginator
Execute the current query and return a paginator for the results .