1 | <?php |
||
10 | class UserCreate extends Command |
||
11 | { |
||
12 | /** |
||
13 | * The console command name. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name = 'user:create'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = 'Create a user.'; |
||
25 | |||
26 | /** |
||
27 | * The registrar implementation. |
||
28 | * |
||
29 | * @var Registrar |
||
30 | */ |
||
31 | private $registrar; |
||
32 | |||
33 | /** |
||
34 | * Create a new command instance. |
||
35 | * |
||
36 | * @param Registrar $registrar |
||
37 | */ |
||
38 | 6 | public function __construct(Registrar $registrar) |
|
44 | |||
45 | /** |
||
46 | * Execute the console command. |
||
47 | * |
||
48 | * @return mixed |
||
49 | */ |
||
50 | 1 | public function fire() |
|
66 | |||
67 | /** |
||
68 | * Get the console command arguments. |
||
69 | * |
||
70 | * @return array |
||
71 | */ |
||
72 | 6 | protected function getArguments() |
|
78 | |||
79 | /** |
||
80 | * Get the console command options. |
||
81 | * |
||
82 | * @return array |
||
83 | */ |
||
84 | 6 | protected function getOptions() |
|
91 | } |
||
92 |