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