lithium\console\command\create\Controller::_singular()
Get the singular variable to use for data in controller methods.
Parameters
-
string
$request
Returns
stringSource
protected function _singular($request) {
return Inflector::singularize(Inflector::camelize($request->action, false));
}