| @@ 63-77 (lines=15) @@ | ||
| 60 | /** |
|
| 61 | * {@inheritdoc} |
|
| 62 | */ |
|
| 63 | public function run() |
|
| 64 | { |
|
| 65 | foreach ($this->runSteps as $action) { |
|
| 66 | $action(); |
|
| 67 | ||
| 68 | $notifyAction = $action; |
|
| 69 | if (is_array($action)) { |
|
| 70 | $notifyAction = $action[1]; |
|
| 71 | } |
|
| 72 | ||
| 73 | $this->notifyAction('bfw_modules_install_run_'.$notifyAction); |
|
| 74 | } |
|
| 75 | ||
| 76 | $this->notifyAction('bfw_modules_install_finish'); |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * Install all modules in the order of the dependency tree. |
|
| @@ 372-386 (lines=15) @@ | ||
| 369 | * |
|
| 370 | * @return void |
|
| 371 | */ |
|
| 372 | public function run() |
|
| 373 | { |
|
| 374 | foreach ($this->runSteps as $action) { |
|
| 375 | $action(); |
|
| 376 | ||
| 377 | $notifyAction = $action; |
|
| 378 | if (is_array($action)) { |
|
| 379 | $notifyAction = $action[1]; |
|
| 380 | } |
|
| 381 | ||
| 382 | $this->notifyAction('apprun_'.$notifyAction); |
|
| 383 | } |
|
| 384 | ||
| 385 | $this->notifyAction('bfw_run_finish'); |
|
| 386 | } |
|
| 387 | ||
| 388 | /** |
|
| 389 | * Connect to memcache(d) server with the class declared in config file |
|