| 1 | <?php |
||
| 10 | class Mysql extends Command |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The console command name. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $name = 'mysql'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'mysql console'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * $connection. |
||
| 28 | * |
||
| 29 | * @var \Illuminate\Database\DatabaseManager |
||
| 30 | */ |
||
| 31 | protected $databaseManager; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * __construct. |
||
| 35 | * |
||
| 36 | * @param \Illuminate\Database\DatabaseManager $databaseManager |
||
| 37 | */ |
||
| 38 | 1 | public function __construct(DatabaseManager $databaseManager) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Handle the command. |
||
| 47 | 1 | * |
|
| 48 | * @throws \InvalidArgumentException |
||
| 49 | 1 | */ |
|
| 50 | 1 | public function handle() |
|
| 58 | |||
| 59 | /** |
||
| 60 | * Get the console command options. |
||
| 61 | 1 | * |
|
| 62 | * @return array |
||
| 63 | */ |
||
| 64 | 1 | protected function getOptions() |
|
| 70 | } |
||
| 71 |