lithium\console\command\create\Mock::_class PHP Method

_class() protected method

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