1 | <?php |
||
8 | class MobilyWsNotificationMakeCommand extends GeneratorCommand |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'mobilyws:notification'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'Create a new Mobily.ws SMS notification class'; |
||
23 | |||
24 | /** |
||
25 | * The type of class being generated. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $type = 'Notification'; |
||
30 | |||
31 | /** |
||
32 | * Execute the console command. |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | public function fire() |
||
42 | |||
43 | /** |
||
44 | * Build the class with the given name. |
||
45 | * |
||
46 | * @param string $name |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function buildClass($name) |
||
53 | |||
54 | /** |
||
55 | * Get the stub file for the generator. |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | protected function getStub() |
||
63 | |||
64 | /** |
||
65 | * Get the default namespace for the class. |
||
66 | * |
||
67 | * @param string $rootNamespace |
||
68 | * @return string |
||
69 | */ |
||
70 | protected function getDefaultNamespace($rootNamespace) |
||
74 | |||
75 | /** |
||
76 | * Get the console command options. |
||
77 | * |
||
78 | * @return array |
||
79 | */ |
||
80 | protected function getOptions() |
||
86 | } |
||
87 |