1 | <?php |
||
10 | class AdminLTEAdmin extends Command |
||
11 | { |
||
12 | use HasUsername, HasEmail; |
||
13 | |||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | */ |
||
17 | protected $signature = 'adminlte-laravel:admin'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = 'Create a seed for admin user and execute seed'; |
||
25 | |||
26 | /** |
||
27 | * Execute the console command. |
||
28 | */ |
||
29 | public function handle() |
||
37 | |||
38 | /** |
||
39 | * Create admin user. |
||
40 | */ |
||
41 | protected function createAdminUser() |
||
51 | |||
52 | /** |
||
53 | * Get password info. |
||
54 | */ |
||
55 | protected function passwordInfo() |
||
62 | } |
||
63 |