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 = 'artisan tinker'; |
||
23 | |||
24 | /** |
||
25 | * Handle the command. |
||
26 | * |
||
27 | * @throws InvalidArgumentException |
||
28 | 6 | */ |
|
29 | public function handle() |
||
61 | |||
62 | /** |
||
63 | * executeCode. |
||
64 | * |
||
65 | * @param string $code |
||
66 | * @return string |
||
67 | 6 | */ |
|
68 | protected function executeCode($code) |
||
84 | |||
85 | /** |
||
86 | * Get the console command options. |
||
87 | * |
||
88 | * @return array |
||
89 | 6 | */ |
|
90 | protected function getOptions() |
||
96 | } |
||
97 |