You are here

public static function Inflector::camelize in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php \Doctrine\Common\Inflector\Inflector::camelize()

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

vendor/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));
}