File "MakeReactorCommand.php"
Full Path: /var/www/html/back/vendor/spatie/laravel-event-sourcing/src/Console/MakeReactorCommand.php
File size: 483 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Spatie\EventSourcing\Console;
use Illuminate\Console\GeneratorCommand;
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';
}
}