code: public static function dasherize($value)
      {
          if (isset(self::$dasherized[$value])) {
              return self::$dasherized[$value];
          }
  
          return self::$dasherized[$value] = str_replace('_', '-', self::decamelize($value));
      }
docs: Replaces underscores or camel case with dashes.
  
  @param string $value
  @return string