Adldap\Objects\Paginator::getPerPage PHP Method

getPerPage() public method

Returns the total amount of entries allowed per page.
public getPerPage ( ) : integer
return integer
    public function getPerPage()
    {
        return $this->perPage;
    }

Usage Example

コード例 #1
0
ファイル: PagintorTest.php プロジェクト: ishawge/jorani
 public function testPaginatorConstruct()
 {
     $paginator = new Paginator([], 50, 0, 0);
     $this->assertEquals(0, $paginator->getPages());
     $this->assertEquals(0, $paginator->count());
     $this->assertEquals(50, $paginator->getPerPage());
 }