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}";
	}
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}";
	}
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}" ; }
Get the class name for the mock.

@param string $request
@return string
Get the class name for the mock .