public static function pascalCase($value)
    {
        if (isset(static::$pascalCache[$value])) {
            return static::$pascalCache[$value];
        }

        $value = static::normalizeScreamingCase($value);
        return static::$pascalCache[$value] = str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $value)));
    }
public static function pascalCase($value)
    {
        if (isset(static::$pascalCache[$value])) {
            return static::$pascalCache[$value];
        }

        $value = static::normalizeScreamingCase($value);
        return static::$pascalCache[$value] = str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $value)));
    }
public static function pascalCase ( $ value ) { if ( isset ( static :: $ pascalCache [ $ value ] ) ) { return static :: $ pascalCache [ $ value ] ; } $ value = static :: normalizeScreamingCase ( $ value ) ; return static :: $ pascalCache [ $ value ] = str_replace ( ' ' , '' , ucwords ( str_replace ( [ '-' , '_' ] , ' ' , $ value ) ) ) ; }
Convert a value to PascalCase.

@param  string $value
@return string
Convert a value to PascalCase .