1 | <?php |
||
8 | class ArtisanTinker extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'tinker'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'artisn tinker'; |
||
23 | |||
24 | /** |
||
25 | * Handle the command. |
||
26 | * |
||
27 | 6 | * @throws \InvalidArgumentException |
|
28 | */ |
||
29 | 6 | public function handle() |
|
58 | |||
59 | /** |
||
60 | * executeCode. |
||
61 | * |
||
62 | * @param string $code |
||
63 | 6 | * @return string |
|
64 | */ |
||
65 | 6 | protected function executeCode($code) |
|
81 | |||
82 | /** |
||
83 | * Get the console command options. |
||
84 | * |
||
85 | 6 | * @return array |
|
86 | */ |
||
87 | protected function getOptions() |
||
93 | } |
||
94 |