| @@ 23-34 (lines=12) @@ | ||
| 20 | * Called when worker is going to update configuration |
|
| 21 | * @return void |
|
| 22 | */ |
|
| 23 | public function onConfigUpdated() |
|
| 24 | { |
|
| 25 | parent::onConfigUpdated(); |
|
| 26 | ||
| 27 | if (($order = ini_get('request_order')) || ($order = ini_get('variables_order'))) { |
|
| 28 | $this->variablesOrder = $order; |
|
| 29 | } else { |
|
| 30 | $this->variablesOrder = null; |
|
| 31 | } |
|
| 32 | } |
|
| 33 | ||
| 34 | /** |
|
| 35 | * Setting default config options |
|
| 36 | * Overriden from ConnectionPool::getConfigDefaults |
|
| 37 | * @return array|bool |
|
| @@ 28-39 (lines=12) @@ | ||
| 25 | * Called when worker is going to update configuration. |
|
| 26 | * @return void |
|
| 27 | */ |
|
| 28 | public function onConfigUpdated() |
|
| 29 | { |
|
| 30 | parent::onConfigUpdated(); |
|
| 31 | ||
| 32 | if (($order = ini_get('request_order')) || ($order = ini_get('variables_order'))) { |
|
| 33 | $this->variablesOrder = $order; |
|
| 34 | } else { |
|
| 35 | $this->variablesOrder = null; |
|
| 36 | } |
|
| 37 | } |
|
| 38 | ||
| 39 | /** |
|
| 40 | * Called when the worker is ready to go. |
|
| 41 | * @return void |
|
| 42 | */ |
|