1 | <?php |
||
13 | abstract class SimplePagedLazyResourceList extends PagedLazyResourceList |
||
14 | { |
||
15 | /* @var integer */ |
||
16 | protected $offset = 0; |
||
17 | |||
18 | /* @var integer */ |
||
19 | protected $limit = 10; |
||
20 | |||
21 | /* @var integer */ |
||
22 | protected $totalRecordCount = null; |
||
23 | |||
24 | protected function findKey($data) |
||
33 | |||
34 | protected function fetchBatch() |
||
59 | |||
60 | /** |
||
61 | * Check if we have the full representation of our data object. |
||
62 | * |
||
63 | * @param \stdClass $data |
||
64 | * @return boolean |
||
65 | */ |
||
66 | protected function isInitialized($data) |
||
70 | |||
71 | /** |
||
72 | * Total number of resources. |
||
73 | * @link http://php.net/manual/en/countable.count.php |
||
74 | * @return int |
||
75 | */ |
||
76 | public function count() |
||
84 | } |
||
85 |