| 1 | <?php |
||
| 20 | final class HeaderMapParamHandler extends AbstractParameterHandler |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var StringConverter |
||
| 24 | */ |
||
| 25 | private $converter; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor |
||
| 29 | * |
||
| 30 | * @param StringConverter $converter |
||
| 31 | */ |
||
| 32 | 9 | public function __construct(StringConverter $converter) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Set a value to the [@see RequestBuilder] for parameter type |
||
| 39 | * |
||
| 40 | * @param RequestBuilder $requestBuilder |
||
| 41 | * @param array|Iterator $map |
||
| 42 | * @return void |
||
| 43 | * @throws \RuntimeException |
||
| 44 | */ |
||
| 45 | 8 | public function apply(RequestBuilder $requestBuilder, $map): void |
|
| 57 | } |
||
| 58 |