1 | <?php |
||
7 | class MakeDriverCommand extends GeneratorCommand |
||
8 | { |
||
9 | /** |
||
10 | * The name and signature of the console command. |
||
11 | * |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $signature = 'translation:make-extension |
||
15 | {name : Name of the extension to be created}'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Generate a new TranslationDriver class.'; |
||
23 | |||
24 | protected $type = 'TranslationDriver'; |
||
25 | |||
26 | /** |
||
27 | * Execute the console command. |
||
28 | * |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function handle() |
||
35 | |||
36 | /** |
||
37 | * Get the stub file for the generator. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | protected function getStub() |
||
45 | |||
46 | protected function getDefaultNamespace($rootNamespace) |
||
50 | } |
||
51 |