for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\EventProjector\Console;
use Illuminate\Console\GeneratorCommand;
final class MakeReactorCommand extends GeneratorCommand
{
protected $name = 'make:reactor';
protected $description = 'Create a new reactor';
protected $type = 'Reactor';
protected function getStub()
return __DIR__.'/../../stubs/reactor.stub';
}
protected function getDefaultNamespace($rootNamespace)
return $rootNamespace.'\Reactors';