Initial Commit

This commit is contained in:
Mark Gregory
2026-04-21 09:12:51 +01:00
commit 6bc3c69c3e
151 changed files with 11917 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace mpba\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;
}
}