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