dimension = $dimension; $this->field = $field; $this->score = round(max(0.0, min(100.0, $score)), 2); $this->satisfied = $satisfied; $this->reason = trim($reason); } public function getDimension(): string { return $this->dimension; } public function getField(): string { return $this->field; } public function getScore(): float { return $this->score; } public function isSatisfied(): bool { return $this->satisfied; } public function getReason(): string { return $this->reason; } }