name = $name; $this->brand = $brand; $this->base = $base; $this->asg = $asg; $this->percent = $percent; $this->volume = $volume; $this->weight = $volume * $asg; } public function getFlavorName(): string { return $this->name; } public function getFlavorBrand(): ?string { return $this->brand; } public function getBase(): ?string { return $this->base; } public function getPercent(): float { return $this->percent; } public function getSpecificGravity(): float { return $this->asg; } public function getVolume(): float { return $this->volume; } public function getWeight(): float { return $this->weight; } }