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