Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
tipuloidea
/
back
/
vendor
/
spatie
/
laravel-event-sourcing
/
src
/
Console
:
MakeAggregateCommand.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Spatie\EventSourcing\Console; use Illuminate\Console\GeneratorCommand; 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'; } }