1 | <?php |
||
14 | class RequestMakeCommand extends GeneratorCommand |
||
15 | { |
||
16 | /** |
||
17 | * The console command name. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $name = 'make:request'; |
||
22 | |||
23 | /** |
||
24 | * The console command description. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $description = 'Create a new form request class'; |
||
29 | |||
30 | /** |
||
31 | * The type of class being generated. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $type = 'Request'; |
||
36 | |||
37 | /** |
||
38 | * Get the stub file for the generator. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | protected function getStub() |
||
46 | |||
47 | /** |
||
48 | * Get the default namespace for the class. |
||
49 | * |
||
50 | * @param string $rootNamespace |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | protected function getDefaultNamespace($rootNamespace) |
||
58 | } |
||
59 |