| @@ 59-73 (lines=15) @@ | ||
| 56 | /** |
|
| 57 | * {@inheritdoc} |
|
| 58 | */ |
|
| 59 | public function run() |
|
| 60 | { |
|
| 61 | foreach ($this->runPhases as $action) { |
|
| 62 | $action(); |
|
| 63 | ||
| 64 | $notifyAction = $action; |
|
| 65 | if (is_array($action)) { |
|
| 66 | $notifyAction = $action[1]; |
|
| 67 | } |
|
| 68 | ||
| 69 | $this->notifyAction('bfw_modules_install_run_'.$notifyAction); |
|
| 70 | } |
|
| 71 | ||
| 72 | $this->notifyAction('bfw_modules_install_finish'); |
|
| 73 | } |
|
| 74 | ||
| 75 | protected function installModules() |
|
| 76 | { |
|
| @@ 328-342 (lines=15) @@ | ||
| 325 | * |
|
| 326 | * @return void |
|
| 327 | */ |
|
| 328 | public function run() |
|
| 329 | { |
|
| 330 | foreach ($this->runPhases as $action) { |
|
| 331 | $action(); |
|
| 332 | ||
| 333 | $notifyAction = $action; |
|
| 334 | if (is_array($action)) { |
|
| 335 | $notifyAction = $action[1]; |
|
| 336 | } |
|
| 337 | ||
| 338 | $this->notifyAction('apprun_'.$notifyAction); |
|
| 339 | } |
|
| 340 | ||
| 341 | $this->notifyAction('bfw_run_finish'); |
|
| 342 | } |
|
| 343 | ||
| 344 | /** |
|
| 345 | * Connect to memcache(d) server with the class declared in config file |
|