| 1 | <?php |
||
| 9 | class Libraries extends CountableGhostModelList implements \ArrayAccess, \Countable, \Iterator |
||
| 10 | { |
||
| 11 | use ArrayAccessResource; |
||
| 12 | use IterableResource; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Get resource. |
||
| 16 | * |
||
| 17 | * @param string $code |
||
| 18 | * @return Library |
||
| 19 | */ |
||
| 20 | public function get($code) |
||
| 24 | |||
| 25 | protected function setData(\stdClass $data) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Check if we have the full representation of our data object. |
||
| 38 | * |
||
| 39 | * @param \stdClass $data |
||
| 40 | * @return boolean |
||
| 41 | */ |
||
| 42 | protected function isInitialized($data) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Generate the base URL for this resource. |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | protected function urlBase() |
||
| 56 | } |
||
| 57 |