| 1 | <?php |
||
| 17 | class HeaderFieldStrategy extends AbstractHttpStrategy |
||
| 18 | { |
||
| 19 | /** @var String */ |
||
| 20 | protected $field; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param String $field field |
||
| 24 | */ |
||
| 25 | public function __construct($field) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Applies the defined strategy on the provided request. |
||
| 32 | * Value may contain a coma separated string values, we use first as identifier. |
||
| 33 | * |
||
| 34 | * @param Request $request request to handle |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | 4 | public function apply(Request $request) |
|
| 42 | } |
||
| 43 |