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