File "UnUseCommand.php"

Full Path: /home/isoftco/public_html/hrm/vendor/nwidart/laravel-modules/src/Commands/UnUseCommand.php
File size: 596 bytes
MIME-type: text/x-php
Charset: utf-8

<?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()
    {
        $this->laravel['modules']->forgetUsed();

        $this->info('Previous module used successfully forgotten.');
    }
}