1 | <?php |
||
11 | class Collection extends LazyResource |
||
12 | { |
||
13 | /* @var string */ |
||
14 | public $collection_id; |
||
15 | |||
16 | /* @var Services */ |
||
17 | public $services; |
||
18 | |||
19 | public function __construct(Client $client, $collection_id) |
||
25 | |||
26 | /** |
||
27 | * Generate the base URL for this resource. |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | protected function urlBase() |
||
35 | |||
36 | /** |
||
37 | * Get the services for this collection. |
||
38 | */ |
||
39 | // public function getServices() |
||
40 | // { |
||
41 | // return $this->services; |
||
42 | // } |
||
43 | |||
44 | /** |
||
45 | * Check if we have the full representation of our data object. |
||
46 | * |
||
47 | * @param \stdClass $data |
||
48 | * |
||
49 | * @return bool |
||
50 | */ |
||
51 | protected function isInitialized($data) |
||
55 | } |
||
56 |