src/Reflection/ReflectionFunctionAbstract.php
public function getName() : string
    {
        if (! $this->inNamespace()) {
            return $this->getShortName();
        }

        return $this->getNamespaceName() . '\\' . $this->getShortName();
    }
public function getName() : string
    {
        if (! $this->inNamespace()) {
            return $this->getShortName();
        }

        return $this->getNamespaceName() . '\\' . $this->getShortName();
    }
Get the "full" name of the function (e.g. for A\B\foo, this will return
"A\B\foo").