1 | <?php |
||
17 | class LendingRequests extends LazyResourceList implements \Countable, \Iterator |
||
18 | { |
||
19 | use IterableCollection; |
||
20 | |||
21 | protected $client; |
||
22 | protected $library; |
||
23 | |||
24 | /** |
||
25 | * LendingRequests constructor. |
||
26 | * |
||
27 | * @param Client $client |
||
28 | * @param Library $library |
||
29 | * @param array $params |
||
30 | */ |
||
31 | public function __construct(Client $client, Library $library, $params = []) |
||
38 | |||
39 | /** |
||
40 | * Generate the base URL for this resource. |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | protected function urlBase() |
||
48 | |||
49 | /** |
||
50 | * Convert a data element to a resource object. |
||
51 | * |
||
52 | * @param $data |
||
53 | * @return mixed |
||
54 | */ |
||
55 | protected function convertToResource($data) |
||
60 | } |
||
61 |