Admin
dashboard
file manager
command
php exec
/
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
rules
/
Renaming
/
Collector
path:
go
upload
mkdir
name
type
size
perms
modified
actions
[parent directory]
RenamedNameCollector.php
file
444 B
0644
2024-11-08 13:59:10
edit
delete
rename
editing: RenamedNameCollector.php
<?php declare (strict_types=1); namespace Rector\Renaming\Collector; final class RenamedNameCollector { /** * @var string[] */ private $names = []; public function add(string $name) : void { $this->names[] = $name; } public function has(string $name) : bool { return \in_array($name, $this->names, \true); } public function reset() : void { $this->names = []; } }
save
cancel