| 1 | <?php |
||
| 15 | abstract class Command extends IlluminateCommand |
||
| 16 | { |
||
| 17 | /* ----------------------------------------------------------------- |
||
| 18 | | Main Methods |
||
| 19 | | ----------------------------------------------------------------- |
||
| 20 | */ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Execute the console command. |
||
| 24 | */ |
||
| 25 | abstract public function handle(); |
||
| 26 | |||
| 27 | /* ----------------------------------------------------------------- |
||
| 28 | | Other Methods |
||
| 29 | | ----------------------------------------------------------------- |
||
| 30 | */ |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create table separator |
||
| 34 | * |
||
| 35 | * @return \Symfony\Component\Console\Helper\TableSeparator |
||
| 36 | */ |
||
| 37 | protected function tableSeparator() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Display frame the text info. |
||
| 44 | * |
||
| 45 | * @param string $text |
||
| 46 | */ |
||
| 47 | protected function frame(string $text) |
||
| 54 | } |
||
| 55 |