public function __construct($art, $pflanzjahr, $preis, $istGiftig) { parent::__construct($art, $pflanzjahr, $preis); $this->istGiftig = $istGiftig; }
public function __construct($art, $pflanzjahr, $preis, $maxHoehe) { parent::__construct($art, $pflanzjahr, $preis); $this->maxHoehe = $maxHoehe; }
public function __construct($art, $pflanzjahr, $preis) { parent::__construct($art, $pflanzjahr, $preis); }