private function get_min_max()
    {
        if ($this->page_count > $this->args['range']) {
            if ($this->current_page <= $this->args['range']) {
                return [
                    1,
                    $this->args['range'] + 1,
                ];
            }

            if ($this->current_page >= ($this->page_count - $this->args['ceil'])) {
                return [
                    $this->page_count - $this->args['range'],
                    $this->page_count,
                ];
            }

            if ($this->current_page >= $this->args['range']
                && $this->current_page < ($this->page_count - $this->args['ceil'])
            ) {
                 return [
                     $this->current_page - $this->args['ceil'],
                     $this->current_page + $this->args['ceil'],
                 ];
            }
        }

        return [1, $this->page_count];
    }