REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.33 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php80/NodeManipulator/AttributeGroupNamedArgumentManipulator.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Php80\NodeManipulator; use PhpParser\Node\AttributeGroup; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Php80\Contract\ConverterAttributeDecoratorInterface; final class AttributeGroupNamedArgumentManipulator { /** * @var ConverterAttributeDecoratorInterface[] * @readonly */ private $converterAttributeDecorators; /** * @param ConverterAttributeDecoratorInterface[] $converterAttributeDecorators */ public function __construct(array $converterAttributeDecorators) { $this->converterAttributeDecorators = $converterAttributeDecorators; } /** * @param AttributeGroup[] $attributeGroups */ public function decorate(array $attributeGroups) : void { foreach ($attributeGroups as $attributeGroup) { foreach ($attributeGroup->attrs as $attr) { $phpAttributeName = $attr->name->getAttribute(AttributeKey::PHP_ATTRIBUTE_NAME); foreach ($this->converterAttributeDecorators as $converterAttributeDecorator) { if ($converterAttributeDecorator->getAttributeName() !== $phpAttributeName) { continue; } $converterAttributeDecorator->decorate($attr); } } } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AttributeGroupNamedArgumentManipulator.php
1.33 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).