| @@ 40-52 (lines=13) @@ | ||
| 37 | /** |
|
| 38 | * {@inheritdoc} |
|
| 39 | */ |
|
| 40 | protected function initGlobals(array $parameters) |
|
| 41 | { |
|
| 42 | $this->globals = array( |
|
| 43 | 'production' => isset($parameters['production']) ? $parameters['production'] : false, |
|
| 44 | 'currencies' => $parameters['currencies'], |
|
| 45 | 'site' => $parameters['site'], |
|
| 46 | 'rank' => $parameters['rank'], |
|
| 47 | 'login' => $parameters['login'], |
|
| 48 | 'hmac_key' => $parameters['hmac']['key'], |
|
| 49 | 'hmac_algorithm' => $parameters['hmac']['algorithm'], |
|
| 50 | 'hmac_signature_name' => $parameters['hmac']['signature_name'], |
|
| 51 | ); |
|
| 52 | } |
|
| 53 | ||
| 54 | /** |
|
| 55 | * {@inheritdoc} |
|
| @@ 49-61 (lines=13) @@ | ||
| 46 | /** |
|
| 47 | * {@inheritdoc} |
|
| 48 | */ |
|
| 49 | protected function initGlobals(array $parameters) |
|
| 50 | { |
|
| 51 | $this->globals = array( |
|
| 52 | 'production' => isset($parameters['production']) ? $parameters['production'] : false, |
|
| 53 | 'currencies' => $parameters['currencies'], |
|
| 54 | 'site' => $parameters['site'], |
|
| 55 | 'rank' => $parameters['rank'], |
|
| 56 | 'login' => $parameters['login'], |
|
| 57 | 'hmac_key' => $parameters['hmac']['key'], |
|
| 58 | 'hmac_algorithm' => $parameters['hmac']['algorithm'], |
|
| 59 | 'hmac_signature_name' => $parameters['hmac']['signature_name'], |
|
| 60 | ); |
|
| 61 | } |
|
| 62 | ||
| 63 | /** |
|
| 64 | * {@inheritdoc} |
|