Pagination::numEnd PHP Метод

numEnd() публичный Метод

Returns the index number of the last item on the current page Can be used to display something like "Currently showing 1 - 10 of 123 items"
public numEnd ( ) : integer
Результат integer
    public function numEnd()
    {
        $end = $this->offset + $this->limit;
        if ($end > $this->items()) {
            $end = $this->items();
        }
        return $end;
    }