Adldap\Objects\Paginator::setCurrentPage PHP Method

setCurrentPage() protected method

Sets the current page number.
protected setCurrentPage ( integer $currentPage ) : Paginator
$currentPage integer
return Paginator
    protected function setCurrentPage($currentPage = 0)
    {
        $this->currentPage = (int) $currentPage;
        return $this;
    }