opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
rules
/
Transform
/
ValueObject
➕ New
📤 Upload
✎ Editing:
AttributeKeyToClassConstFetch.php
← Back
<?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; } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel