code: public static function humanize($word, $ucAll = false)
      {
          $word = str_replace('_', ' ', preg_replace('/_id$/', '', $word));
          $encoding = self::encoding();
  
          return $ucAll ? StringHelper::mb_ucwords($word, $encoding) : StringHelper::mb_ucfirst($word, $encoding);
      }
docs: Returns a human-readable string from $word.
  @param string $word the string to humanize
  @param bool $ucAll whether to set all words to uppercase or not
  @return string