File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/rules/Transform/ValueObject/AttributeKeyToClassConstFetch.php
Back
<?php declare (strict_types=1); namespace Rector\Transform\ValueObject; final class AttributeKeyToClassConstFetch { /** * @var class-string * @readonly */ private $attributeClass; /** * @readonly * @var string */ private $attributeKey; /** * @var class-string * @readonly */ private $constantClass; /** * @var array<string, string> * @readonly */ private $valuesToConstantsMap; /** * @param class-string $attributeClass * @param class-string $constantClass * @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; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings