Phan\Language\FQSEN\FullyQualifiedClassName::asUnionType PHP Method

asUnionType() public method

public asUnionType ( ) : UnionType
return Phan\Language\UnionType The union type of just this class type
    public function asUnionType() : UnionType
    {
        return $this->asType()->asUnionType();
    }