Phan\Language\FQSEN\Alternatives::getCanonicalFQSEN PHP Method

getCanonicalFQSEN() public method

public getCanonicalFQSEN ( ) : Phan\Language\FQSEN
return 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);
    }