src/Utils/ASTDefinitionBuilder.php
public function buildType($ref)
    {
        if (is_string($ref)) {
            return $this->internalBuildType($ref);
        }

        return $this->internalBuildType($ref->name->value, $ref);
    }
public function buildType($ref)
    {
        if (is_string($ref)) {
            return $this->internalBuildType($ref);
        }

        return $this->internalBuildType($ref->name->value, $ref);
    }
public function buildType ( $ ref ) { if ( is_string ( $ ref ) ) { return $ this -> internalBuildType ( $ ref ) ; } return $ this -> internalBuildType ( $ ref -> name -> value , $ ref ) ; }
@param string|NamedTypeNode $ref

@return Type

@throws Error
@param string|NamedTypeNode $ref