1 | <?php |
||
8 | class MakeFrontendDataProviderCommand extends GeneratorCommand |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'make:frontend-data-provider'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Create a new frontend data provider class'; |
||
23 | |||
24 | /** |
||
25 | * The type of class being generated. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $type = 'FrontendDataProvider'; |
||
30 | |||
31 | /** |
||
32 | * Get the stub file for the generator. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | protected function getStub() |
||
40 | |||
41 | /** |
||
42 | * Get the default namespace for the class. |
||
43 | * |
||
44 | * @param string $rootNamespace |
||
45 | * @return string |
||
46 | */ |
||
47 | protected function getDefaultNamespace($rootNamespace) |
||
51 | } |
||
52 |