public static function titleCase($string) {
        return static::cache(array(__METHOD__, $string), function() use ($string) {
            return mb_convert_case(str_replace('_', ' ', $string), MB_CASE_TITLE);
        });
    }
public static function titleCase($string) {
        return static::cache(array(__METHOD__, $string), function() use ($string) {
            return mb_convert_case(str_replace('_', ' ', $string), MB_CASE_TITLE);
        });
    }
public static function titleCase ( $ string ) { return static :: cache ( array ( __METHOD__ , $ string ) , function ( ) use ( $ string ) { return mb_convert_case ( str_replace ( '_' , ' ' , $ string ) , MB_CASE_TITLE ) ; } ) ; }
Inflect a word to a human readable string with all words capitalized.

@param string $string
@return string
Inflect a word to a human readable string with all words capitalized .