getPages() public method

public getPages ( $siblings = 3 )
Beispiel #1
0
 /**
  * @test
  */
 public function it_handles_empty_lists()
 {
     $pager = new Pager(0, 10, 42);
     $this->assertEquals($pager->getPages(), array(1));
 }