Total Complexity | 1 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class GeneratePasswordKeyCommand extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The name and signature of the console command. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $signature = 'passwords:generate-key {length?}'; |
||
16 | |||
17 | /** |
||
18 | * The description of the console command. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Generates an encryption key for the Password Manager.'; |
||
23 | |||
24 | /** |
||
25 | * Execute the console command. |
||
26 | * |
||
27 | * @param PasswordManager $manager |
||
28 | * @return int |
||
29 | */ |
||
30 | public function handle(PasswordManager $manager) |
||
38 | } |
||
39 | } |