| 1 | <?php |
||
| 9 | class ParameterExtractor { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Extracts the value of a parameter from a parameter list. |
||
| 13 | * |
||
| 14 | * @param string[] $parameterNames Name and aliases of the parameter. First match gets used |
||
| 15 | * @param string[] $rawParameters Parameters that did not get processed further than being put in a key-value map |
||
| 16 | * |
||
| 17 | * @return string|null |
||
| 18 | */ |
||
| 19 | 26 | public function extract( array $parameterNames, array $rawParameters ) { |
|
| 30 | |||
| 31 | 17 | public static function extractFromKeyValueStrings( array $keyValueStrings ) { |
|
| 44 | |||
| 45 | } |
||
| 46 |