Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
invoiceshelf
/
modules
/
src
/
Commands
/
stubs
:
UnUseCommand.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Nwidart\Modules\Commands; use Illuminate\Console\Command; class UnUseCommand extends Command { /** * The console command name. * * @var string */ protected $name = 'module:unuse'; /** * The console command description. * * @var string */ protected $description = 'Forget the used module with module:use'; /** * Execute the console command. */ public function handle() : int { $this->laravel['modules']->forgetUsed(); $this->info('Previous module used successfully forgotten.'); return 0; } }