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

getStub() protected method

Get the stub file for the generator.
protected getStub ( ) : string
return string
    protected function getStub()
    {
        if ($this->option('unit')) {
            return __DIR__ . '/stubs/unit-test.stub';
        } else {
            return __DIR__ . '/stubs/test.stub';
        }
    }