Total Complexity | 3 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class DeactivationGlobalTokenCommand extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'tokens:global-deactivation {token}'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Деактивировать глобальный токен (tokens:global-deactivation {token})'; |
||
26 | |||
27 | /** |
||
28 | * The console command signature. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $signature = 'tokens:global-deactivation {token}'; |
||
33 | |||
34 | /** |
||
35 | * @var Composer |
||
36 | */ |
||
37 | public Composer $composer; |
||
38 | |||
39 | /** |
||
40 | * @var TokenManager |
||
41 | */ |
||
42 | public TokenManager $TokenManager; |
||
43 | |||
44 | /** |
||
45 | * Create a new command instance. |
||
46 | */ |
||
47 | public function __construct(TokenManager $TokenManager) |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Execute the command. |
||
55 | * |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function handle() |
||
71 |