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

_namespace() protected method

Get the namespace for the mock.
protected _namespace ( string $request, array | string $options = [] ) : string
$request string
$options array | string
return string
    protected function _namespace($request, $options = array())
    {
        $request->params['command'] = $request->action;
        return parent::_namespace($request, array('prepend' => 'tests.mocks.'));
    }