1 | <?php |
||
16 | class HiveServiceProvider extends ServiceProvider |
||
17 | { |
||
18 | protected $defer = true; |
||
19 | |||
20 | protected $commands = [ |
||
21 | 'Assemble' => 'command.assemble', |
||
22 | 'MakeFactory' => 'command.make.factory', |
||
23 | 'MakeInstance' => 'command.make.instance', |
||
24 | 'MakeRepo' => 'command.make.repo', |
||
25 | 'MakeValidator' => 'command.make.validator', |
||
26 | 'MakeController' => 'command.make.controller', |
||
27 | 'MakeCommand' => 'command.make.command', |
||
28 | 'MakeHandler' => 'command.make.handler', |
||
29 | 'MakeMutator' => 'command.make.mutator', |
||
30 | ]; |
||
31 | |||
32 | public function register() |
||
42 | |||
43 | protected function registerAssembleCommand() |
||
49 | |||
50 | protected function registerMakeFactoryCommand() |
||
56 | |||
57 | protected function registerMakeInstanceCommand() |
||
63 | |||
64 | protected function registerMakeRepoCommand() |
||
70 | |||
71 | protected function registerMakeValidatorCommand() |
||
77 | |||
78 | protected function registerMakeControllerCommand() |
||
84 | |||
85 | protected function registerMakeCommandCommand() |
||
91 | |||
92 | protected function registerMakeHandlerCommand() |
||
98 | |||
99 | protected function registerMakeMutatorCommand() |
||
105 | |||
106 | public function provides() |
||
110 | } |
||
111 |