*/ class PropelInflector { /** * Camelize a word. * Inspirated by https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Util/Inflector.php * * @param string $word The word to camelize. * @return string */ public static function camelize($word) { return lcfirst(str_replace(" ", "", ucwords(strtr($word, "_-", " ")))); } }