mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-13 20:36:23 +01:00
add getName()
This commit is contained in:
parent
27a0e96ce0
commit
0adff2c8b2
@ -39,6 +39,11 @@ final class SerializerTypeTagValueNode extends AbstractTagValueNode
|
||||
$this->name = $newName;
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
public function replaceName(string $oldName, string $newName): bool
|
||||
{
|
||||
$oldNamePattern = '#\b' . preg_quote($oldName, '#') . '\b#';
|
||||
|
Loading…
x
Reference in New Issue
Block a user