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
:
MakeStorableEventCommand.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Spatie\EventSourcing\Console; use Illuminate\Console\GeneratorCommand; class MakeStorableEventCommand extends GeneratorCommand { protected $name = 'make:storable-event'; protected $description = 'Create a storable event'; protected $type = 'Domain event'; protected function getStub() { return __DIR__.'/../../stubs/event.stub'; } protected function getDefaultNamespace($rootNamespace) { return $rootNamespace.'\StorableEvents'; } }