add getName()

This commit is contained in:
Tomas Votruba 2019-09-19 18:22:37 +02:00
parent 27a0e96ce0
commit 0adff2c8b2

View File

@ -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#';