Total Complexity | 7 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class ProlongationByIDCommand extends Command |
||
13 | { |
||
14 | /** |
||
15 | * The console command name. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $name = 'tokens:prolongation-by-id {token_id} {day?}'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Продлить срок действия токена по id токена (tokens:prolongation-by-id {token_id} {day?})'; |
||
27 | |||
28 | /** |
||
29 | * The console command signature. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $signature = 'tokens:prolongation-by-id {token_id} {day?}'; |
||
34 | |||
35 | /** |
||
36 | * @var Composer |
||
37 | */ |
||
38 | public Composer $composer; |
||
39 | |||
40 | /** |
||
41 | * @var TokenManager |
||
42 | */ |
||
43 | public TokenManager $TokenManager; |
||
44 | |||
45 | /** |
||
46 | * Create a new command instance. |
||
47 | */ |
||
48 | public function __construct(TokenManager $TokenManager) |
||
52 | } |
||
53 | |||
54 | /** |
||
55 | * Execute the command. |
||
56 | * |
||
57 | * @return mixed |
||
58 | */ |
||
59 | public function handle() |
||
74 |