lithium\console\command\create\Controller::_singular()

protected method

Get the singular variable to use for data in controller methods.

Parameters

  • string $request

Returns

string

Source

	protected function _singular($request) {
		return Inflector::singularize(Inflector::camelize($request->action, false));
	}