RenamedNameCollector.php
| 444 B | Satir:
0
| php
Geri
<?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 = []; } }
Kaydet
Ctrl+S ile kaydet