src/Graviton/ProxyBundle/Definition/Loader/HttpLoader.php 1 location
|
@@ 134-142 (lines=9) @@
|
| 131 |
|
* |
| 132 |
|
* @return void |
| 133 |
|
*/ |
| 134 |
|
public function setOptions($options) |
| 135 |
|
{ |
| 136 |
|
if (!empty($options['prefix'])) { |
| 137 |
|
$options['storeKey'] = $options['prefix']; |
| 138 |
|
unset($options['prefix']); |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
$this->options = array_merge($this->options, $options); |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
/** |
| 145 |
|
* check if the url is valid |
src/Graviton/ProxyBundle/Definition/Loader/ConfigurationLoader.php 1 location
|
@@ 45-53 (lines=9) @@
|
| 42 |
|
/** |
| 43 |
|
* @inheritDoc |
| 44 |
|
*/ |
| 45 |
|
public function setOptions($options) |
| 46 |
|
{ |
| 47 |
|
if (!empty($options['prefix'])) { |
| 48 |
|
$options['storeKey'] = $options['prefix']; |
| 49 |
|
unset($options['prefix']); |
| 50 |
|
} |
| 51 |
|
|
| 52 |
|
$this->options = array_merge($this->options, $options); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
/** |
| 56 |
|
* @inheritDoc |