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