You are here

public static function Inflector::camelize in Plug 7

Camelizes a word. This uses the classify() method and turns the first character to lowercase.

Parameters

string $word The word to camelize.:

Return value

string The camelized word.

File

lib/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php, line 234

Class

Inflector
Doctrine inflector has static methods for inflecting text.

Namespace

Doctrine\Common\Inflector

Code

public static function camelize($word) {
  return lcfirst(self::classify($word));
}