* @readonly */ private $valuesToConstantsMap; /** * @param array $valuesToConstantsMap */ public function __construct(string $attributeClass, string $attributeKey, string $constantClass, array $valuesToConstantsMap) { $this->attributeClass = $attributeClass; $this->attributeKey = $attributeKey; $this->constantClass = $constantClass; $this->valuesToConstantsMap = $valuesToConstantsMap; } public function getAttributeClass() : string { return $this->attributeClass; } public function getAttributeKey() : string { return $this->attributeKey; } public function getConstantClass() : string { return $this->constantClass; } /** * @return array */ public function getValuesToConstantsMap() : array { return $this->valuesToConstantsMap; } }