lithium\console\command\create\Mock::_class()
Get the class name for the mock.
Parameters
-
string
$request
Returns
stringSource
protected function _class($request) {
$type = $request->action;
$name = $request->args();
if ($command = $this->_instance($type)) {
$request->params['action'] = $name;
$name = $command->invokeMethod('_class', [$request]);
}
return "Mock{$name}";
}