is_full; } /******************************************************************************** * * Setters * *********************************************************************************/ /** * Change the "is full" attribute of this storelocation * * "is_full" = true means that there is no more space in this storelocation. * This attribute is only for information, it has no effect. * * @param boolean $new_is_full * true means that the storelocation is full * * false means that the storelocation isn't full * * @throws Exception if there was an error */ public function setIsFull(bool $new_is_full) : self { $this->is_full = $new_is_full; return $this; } /** * Returns the ID as an string, defined by the element class. * This should have a form like P000014, for a part with ID 14. * @return string The ID as a string; */ public function getIDString(): string { return 'L' . sprintf('%06d', $this->getID()); } }