public function __construct($goalType = null, $unitType = null, $units = null) { $this->goalType = $goalType; $this->unitType = $unitType; $this->units = $units; }