entity = $combustee; $this->duration = $duration; } /** * Returns the duration in seconds the entity will burn for. */ public function getDuration() : int{ return $this->duration; } public function setDuration(int $duration) : void{ $this->duration = $duration; } }