Grid/Grid.php
public function setPage($page)
    {
        if ((int) $page >= 0) {
            $this->page = (int) $page;
        } else {
            throw new \InvalidArgumentException(self::PAGE_NOT_VALID_EX_MSG);
        }

        return $this;
    }
public function setPage($page)
    {
        if ((int) $page >= 0) {
            $this->page = (int) $page;
        } else {
            throw new \InvalidArgumentException(self::PAGE_NOT_VALID_EX_MSG);
        }

        return $this;
    }
Sets current Page (internal).

@param $page

@throws \InvalidArgumentException

@return self