GraphQL\Type\Definition\ListOfType::toString PHP Method

toString() public method

public toString ( ) : string
return string
    public function toString()
    {
        $type = Type::resolve($this->ofType);
        $str = $type instanceof Type ? $type->toString() : (string) $type;
        return '[' . $str . ']';
    }