src/Utils/Str.php
public static function classify($value)
    {
        if (isset(self::$classified[$value])) {
            return self::$classified[$value];
        }

        $converted = ucwords(str_replace(['-', '_'], ' ', $value));

        return self::$classified[$value] = str_replace(' ', '', $converted);
    }
public static function classify($value)
    {
        if (isset(self::$classified[$value])) {
            return self::$classified[$value];
        }

        $converted = ucwords(str_replace(['-', '_'], ' ', $value));

        return self::$classified[$value] = str_replace(' ', '', $converted);
    }
public static function classify ( $ value ) { if ( isset ( self :: $ classified [ $ value ] ) ) { return self :: $ classified [ $ value ] ; } $ converted = ucwords ( str_replace ( [ '-' , '_' ] , ' ' , $ value ) ) ; return self :: $ classified [ $ value ] = str_replace ( ' ' , '' , $ converted ) ; }
Gets the upper camel case form of a string.

@param string $value
@return string
Gets the upper camel case form of a string .