lithium\console\command\create\Mock::_parent()

protected method

Get the parent for the mock.

Parameters

  • string $request

Returns

string

Source

	protected function _parent($request) {
		$namespace = parent::_namespace($request);
		$class = Inflector::camelize($request->action);
		return "\\{$namespace}\\{$class}";
	}