Completed
Push — master ( d43b57...61b043 )
by Randall
07:54 queued 04:32
created

UnUseCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 5 1
1
<?php
2
3
namespace Rawilk\LaravelModules\Commands\Other;
4
5
use Illuminate\Console\Command;
6
7
class UnUseCommand extends Command
8
{
9
    /** @var string */
10
    protected $signature = 'module:unuse';
11
12
    /** @var string */
13
    protected $description = 'Forget the used module in the cli session from module:use.';
14
15
    public function handle(): void
16
    {
17
        $this->laravel['modules']->forgetUsed();
18
19
        $this->info('Previous module used is forgotten.');
20
    }
21
}
22