| 1 | <?php declare(strict_types = 1); |
||
| 9 | abstract class AbstractList |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The number of total available items in this list. |
||
| 13 | * Will always be greater than or equal to the "returned" value. |
||
| 14 | * |
||
| 15 | * @var integer |
||
| 16 | */ |
||
| 17 | private $available; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The number of items returned in this list (up to 20). |
||
| 21 | * |
||
| 22 | * @var integer |
||
| 23 | */ |
||
| 24 | private $returned; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The path to the full list. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $collectionURI; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | public function getAvailable() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param int $available |
||
| 43 | */ |
||
| 44 | public function setAvailable(int $available) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return int |
||
| 51 | */ |
||
| 52 | public function getReturned() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @param int $returned |
||
| 59 | */ |
||
| 60 | public function setReturned(int $returned) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function getCollectionURI() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param string $collectionURI |
||
| 75 | */ |
||
| 76 | public function setCollectionURI(string $collectionURI) |
||
| 80 | } |
||
| 81 |