| 1 | <?php |
||
| 9 | class Holding extends GhostModel |
||
| 10 | { |
||
| 11 | /* @var string */ |
||
| 12 | public $holding_id; |
||
| 13 | |||
| 14 | /* @var Bib */ |
||
| 15 | public $bib; |
||
| 16 | |||
| 17 | /* @var Items */ |
||
| 18 | public $items; |
||
| 19 | |||
| 20 | /* @var MarcRecord */ |
||
| 21 | protected $_marc; |
||
| 22 | |||
| 23 | public function __construct(Client $client, Bib $bib, $holding_id) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Check if we have the full representation of our data object. |
||
| 33 | * |
||
| 34 | * @param \stdClass $data |
||
| 35 | * @return boolean |
||
| 36 | */ |
||
| 37 | protected function isInitialized($data) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Store data onto object. |
||
| 44 | * |
||
| 45 | * @param \stdClass $data |
||
| 46 | */ |
||
| 47 | protected function setData(\stdClass $data) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Generate the base URL for this resource. |
||
| 54 | * |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | protected function urlBase() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Get the MARC record. |
||
| 64 | */ |
||
| 65 | public function getRecord() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Get the items for this holding. |
||
| 72 | */ |
||
| 73 | public function getItems() |
||
| 77 | } |
||
| 78 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..