![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/rector/rector/rules/Transform/ValueObject/ |
<?php declare (strict_types=1); namespace Rector\Transform\ValueObject; final class AttributeKeyToClassConstFetch { /** * @readonly * @var string */ private $attributeClass; /** * @readonly * @var string */ private $attributeKey; /** * @readonly * @var string */ private $constantClass; /** * @var array<string, string> * @readonly */ private $valuesToConstantsMap; /** * @param array<string, string> $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<string, string> */ public function getValuesToConstantsMap() : array { return $this->valuesToConstantsMap; } }