camelize() public static méthode

Camelize
public static camelize ( type $string, type $pascalCase = false ) : type
$string type
$pascalCase type - if true = CamelCase, else camelCase
Résultat type
Exemple #1
0
 /**
  * Return a CameLized string
  *
  * @return string
  */
 public static function formatName($name)
 {
     return Helpers::camelize($name, true);
 }
Exemple #2
0
 /**
  * Set the action name
  *
  * @param string $action
  */
 protected function setActionName($action)
 {
     $this->actionName = Helpers::camelize($action, true);
     return $this;
 }