public static function getName(Node\Stmt\ClassLike $node): string
    {
        if ($node->name === null) {
            return NameInterface::UNKNOWN_NAME;
        }
        return $node->name;
    }
public static function getName(Node\Stmt\ClassLike $node): string
    {
        if ($node->name === null) {
            return NameInterface::UNKNOWN_NAME;
        }
        return $node->name;
    }
public static function getName ( Node \ Stmt \ ClassLike $ node ) : string { if ( $ node -> name === null ) { return NameInterface :: UNKNOWN_NAME ; } return $ node -> name ; }
Get the name of a node.

@param Node\Stmt\ClassLike $node The node.

@return string The found name.
Get the name of a node .