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

_parent() protected method

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