src/Composer/ComposerHydrationHandler.php
public function toUpperCamelCase($string)
  {
      $string = str_replace(array('-', '_'), ' ', $string);
      $string = ucwords(strtolower($string));
      $string = str_replace(' ', '', $string);

      return $string;
  }
public function toUpperCamelCase($string)
  {
      $string = str_replace(array('-', '_'), ' ', $string);
      $string = ucwords(strtolower($string));
      $string = str_replace(' ', '', $string);

      return $string;
  }
public function toUpperCamelCase ( $ string ) { $ string = str_replace ( array ( '-' , '_' ) , ' ' , $ string ) ; $ string = ucwords ( strtolower ( $ string ) ) ; $ string = str_replace ( ' ' , '' , $ string ) ; return $ string ; }
Converts a string to upper camel case.

@param string $string
The string to be converted.

@return string
An upper camel case string.
Converts a string to upper camel case .