Skip to content

Commit 84b76eb

Browse files
committed
Added function getPagination so you have access to the pagination array
1 parent 496bd03 commit 84b76eb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Github/ResultPager.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ public function __construct( Client $client )
3131
$this->client = $client;
3232
}
3333

34+
/**
35+
* @return null|array pagination result of last request
36+
*/
37+
public function getPagination()
38+
{
39+
return $this->pagination;
40+
}
41+
3442
/**
3543
* {@inheritdoc}
3644
*/

0 commit comments

Comments
 (0)