Illuminate\Foundation\Console\TestMakeCommand::getDefaultNamespace PHP Method

getDefaultNamespace() protected method

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
return string
    protected function getDefaultNamespace($rootNamespace)
    {
        if ($this->option('unit')) {
            return $rootNamespace . '\\Unit';
        } else {
            return $rootNamespace . '\\Feature';
        }
    }