| @@ 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 | { |
|
| @@ 349-363 (lines=15) @@ | ||
| 346 | * |
|
| 347 | * @return void |
|
| 348 | */ |
|
| 349 | public function run() |
|
| 350 | { |
|
| 351 | foreach ($this->runPhases as $action) { |
|
| 352 | $action(); |
|
| 353 | ||
| 354 | $notifyAction = $action; |
|
| 355 | if (is_array($action)) { |
|
| 356 | $notifyAction = $action[1]; |
|
| 357 | } |
|
| 358 | ||
| 359 | $this->notifyAction('apprun_'.$notifyAction); |
|
| 360 | } |
|
| 361 | ||
| 362 | $this->notifyAction('bfw_run_finish'); |
|
| 363 | } |
|
| 364 | ||
| 365 | /** |
|
| 366 | * Connect to memcache(d) server with the class declared in config file |
|