PhpParser\Node\Name::__toString PHP Method

__toString() public method

Returns a string representation of the name by imploding the namespace parts with the namespace separator.
public __toString ( ) : string
return string String representation
    public function __toString()
    {
        return implode('\\', $this->parts);
    }