src/helpers/StringHelper.php
public static function toPascalCase(string $string): string
    {
        $words = self::_prepStringForCasing($string);
        $string = implode('', array_map([
            static::class,
            'upperCaseFirst'
        ], $words));

        return $string;
    }
public static function toPascalCase(string $string): string
    {
        $words = self::_prepStringForCasing($string);
        $string = implode('', array_map([
            static::class,
            'upperCaseFirst'
        ], $words));

        return $string;
    }
public static function toPascalCase ( string $ string ) : string { $ words = self :: _prepStringForCasing ( $ string ) ; $ string = implode ( '' , array_map ( [ static :: class , 'upperCaseFirst' ] , $ words ) ) ; return $ string ; }
PascalCases a string.

@param string $string The string
@return string
@see toKebabCase()
@see toCamelCase()
@see toSnakeCase()
PascalCases a string .