| Total Complexity | 4 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Coverage | 20% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ChangePassword extends Command |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The name and signature of the console command. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $signature = 'user:change-password {login} {password}'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'Change user password'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create a new command instance. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | 3 | public function __construct() |
|
| 32 | { |
||
| 33 | 3 | parent::__construct(); |
|
| 34 | 3 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Execute the console command. |
||
| 38 | * |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function handle() |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Get the console command arguments. |
||
| 61 | * |
||
| 62 | * @return array |
||
| 63 | */ |
||
| 64 | protected function getArguments() |
||
| 69 | ]; |
||
| 70 | } |
||
| 72 |