public function setProgress(float $progress) { $this->progress = $progress; //errors will be handled internally anyway }