public static function applyNamingConvention(string $namespace, string $path, ?string $node, string $name, ?string $suffix = null)
    {
        if (null === $node) {
            return sprintf('%s\%s\%s%s', $namespace, $path, ucfirst($name), $suffix);
        }

        return sprintf('%s\%s\%s\%s%s', $namespace, $path, $node, ucfirst($name), $suffix);
    }
public static function applyNamingConvention(string $namespace, string $path, ?string $node, string $name, ?string $suffix = null)
    {
        if (null === $node) {
            return sprintf('%s\%s\%s%s', $namespace, $path, ucfirst($name), $suffix);
        }

        return sprintf('%s\%s\%s\%s%s', $namespace, $path, $node, ucfirst($name), $suffix);
    }
public static function applyNamingConvention ( string $ namespace , string $ path , ? string $ node , string $ name , ? string $ suffix = null ) { if ( null === $ node ) { return sprintf ( '%s\%s\%s%s' , $ namespace , $ path , ucfirst ( $ name ) , $ suffix ) ; } return sprintf ( '%s\%s\%s\%s%s' , $ namespace , $ path , $ node , ucfirst ( $ name ) , $ suffix ) ; }
Apply a naming convention based on namespace and path for given node

e.g.
$namespace = AppBundle
$path = Form\Input
$node = User
$name = AddUser
$input = Input

result: AppBundle\Form\Input\User\AddUserInput

@param string      $namespace
@param string      $path
@param string      $node
@param string      $name
@param string|null $suffix

@return string
Apply a naming convention based on namespace and path for given node