Phan\Language\FQSEN\Alternatives::getCanonicalFQSEN PHP Метод

getCanonicalFQSEN() публичный Метод

public getCanonicalFQSEN ( ) : Phan\Language\FQSEN
Результат Phan\Language\FQSEN Get the canonical (non-alternate) FQSEN associated with this FQSEN
    public function getCanonicalFQSEN() : FQSEN
    {
        if ($this->alternate_id == 0) {
            return $this;
        }
        return $this->withAlternateId(0);
    }