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 MakeAggregateCommand extends GeneratorCommand
{
protected $name = 'make:aggregate';
protected $description = 'Create a new aggregate';
protected $type = 'Aggregate';
protected function getStub()
return __DIR__.'/../../stubs/aggregate.stub';
}
protected function getDefaultNamespace($rootNamespace)
return $rootNamespace.'\Aggregates';