public function dump()
    {
        $isFirst = $this->dumpFlag('first', $this->isFirst());
        $isCurrent = $this->dumpFlag('current', $this->isCurrent());
        $isPrevious = $this->dumpFlag('prev', $this->isPrevious());
        $isNext = $this->dumpFlag('next', $this->isNext());
        $isLast = $this->dumpFlag('last', $this->isLast());

        $number = str_pad((string)$this->number(), 10, ' ', STR_PAD_LEFT);

        $flags = "$isCurrent|$isFirst|$isLast|$isPrevious|$isNext";

        $string = str_pad("'$this'", 10, ' ', STR_PAD_LEFT);

        $offset = str_pad((string)$this->getOffset(), 20, ' ', STR_PAD_LEFT);

        return "Page #$number $string offset:$offset flags:$flags";
    }
public function dump()
    {
        $isFirst = $this->dumpFlag('first', $this->isFirst());
        $isCurrent = $this->dumpFlag('current', $this->isCurrent());
        $isPrevious = $this->dumpFlag('prev', $this->isPrevious());
        $isNext = $this->dumpFlag('next', $this->isNext());
        $isLast = $this->dumpFlag('last', $this->isLast());

        $number = str_pad((string)$this->number(), 10, ' ', STR_PAD_LEFT);

        $flags = "$isCurrent|$isFirst|$isLast|$isPrevious|$isNext";

        $string = str_pad("'$this'", 10, ' ', STR_PAD_LEFT);

        $offset = str_pad((string)$this->getOffset(), 20, ' ', STR_PAD_LEFT);

        return "Page #$number $string offset:$offset flags:$flags";
    }
public function dump ( ) { $ isFirst = $ this -> dumpFlag ( 'first' , $ this -> isFirst ( ) ) ; $ isCurrent = $ this -> dumpFlag ( 'current' , $ this -> isCurrent ( ) ) ; $ isPrevious = $ this -> dumpFlag ( 'prev' , $ this -> isPrevious ( ) ) ; $ isNext = $ this -> dumpFlag ( 'next' , $ this -> isNext ( ) ) ; $ isLast = $ this -> dumpFlag ( 'last' , $ this -> isLast ( ) ) ; $ number = str_pad ( ( string ) $ this -> number ( ) , 10 , ' ' , STR_PAD_LEFT ) ; $ flags = "$isCurrent|$isFirst|$isLast|$isPrevious|$isNext" ; $ string = str_pad ( "'$this'" , 10 , ' ' , STR_PAD_LEFT ) ; $ offset = str_pad ( ( string ) $ this -> getOffset ( ) , 20 , ' ' , STR_PAD_LEFT ) ; return "Page #$number $string offset:$offset flags:$flags" ; }
Just a helper method for debugging.

@return string
Just a helper method for debugging .