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

protected method

Get the singular data variable that is sent down from controller methods.

Parameters

  • string $request

Returns

string

Source

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