lib/Core/Paginator.php
public function next()
    {
        ++$this->current_position;

        if(!$this->valid()) {
            $this->current_response = $this->next_response();
            $this->current_page_position = $this->current_position;
        }
    }
public function next()
    {
        ++$this->current_position;

        if(!$this->valid()) {
            $this->current_response = $this->next_response();
            $this->current_page_position = $this->current_position;
        }
    }
public function next ( ) { ++ $ this -> current_position ; if ( ! $ this -> valid ( ) ) { $ this -> current_response = $ this -> next_response ( ) ; $ this -> current_page_position = $ this -> current_position ; } }
Increments the current index of the iterator and fetches the next
page if required
Increments the current index of the iterator and fetches the next page if required