1 | <?php namespace Cerbero\Workflow; |
||
16 | class WorkflowServiceProvider extends ServiceProvider { |
||
17 | |||
18 | /** |
||
19 | * @author Andrea Marco Sartori |
||
20 | * @var array $commands List of registered commands. |
||
21 | */ |
||
22 | protected $commands = [ |
||
23 | 'cerbero.workflow.create', |
||
24 | 'cerbero.workflow.read', |
||
25 | 'cerbero.workflow.update', |
||
26 | 'cerbero.workflow.delete', |
||
27 | ]; |
||
28 | |||
29 | /** |
||
30 | * Boot the package up. |
||
31 | * |
||
32 | * @author Andrea Marco Sartori |
||
33 | * @return void |
||
34 | */ |
||
35 | public function boot() |
||
45 | |||
46 | /** |
||
47 | * Publish the configuration file. |
||
48 | * |
||
49 | * @author Andrea Marco Sartori |
||
50 | * @return void |
||
51 | */ |
||
52 | private function publishConfig() |
||
60 | |||
61 | /** |
||
62 | * Register the services. |
||
63 | * |
||
64 | * @author Andrea Marco Sartori |
||
65 | * @return void |
||
66 | */ |
||
67 | public function register() |
||
81 | |||
82 | /** |
||
83 | * Register the pipeline repository. |
||
84 | * |
||
85 | * @author Andrea Marco Sartori |
||
86 | * @return void |
||
87 | */ |
||
88 | private function registerPipelineRepository() |
||
104 | |||
105 | /** |
||
106 | * Register the inflector. |
||
107 | * |
||
108 | * @author Andrea Marco Sartori |
||
109 | * @return void |
||
110 | */ |
||
111 | private function registerInflector() |
||
120 | |||
121 | /** |
||
122 | * Register the bus dispatcher. |
||
123 | * |
||
124 | * @author Andrea Marco Sartori |
||
125 | * @return void |
||
126 | */ |
||
127 | private function registerDispatcher() |
||
136 | |||
137 | /** |
||
138 | * Register the package main class. |
||
139 | * |
||
140 | * @author Andrea Marco Sartori |
||
141 | * @return void |
||
142 | */ |
||
143 | private function registerWorkflow() |
||
150 | |||
151 | /** |
||
152 | * Register the hook for the workflow runners. |
||
153 | * |
||
154 | * @author Andrea Marco Sartori |
||
155 | * @return void |
||
156 | */ |
||
157 | private function registerWorkflowRunnersHook() |
||
164 | |||
165 | /** |
||
166 | * Register the console commands. |
||
167 | * |
||
168 | * @author Andrea Marco Sartori |
||
169 | * @return void |
||
170 | */ |
||
171 | private function registerCommands() |
||
183 | |||
184 | } |
||
185 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.