1 | <?php |
||
15 | class HeaderAppendPlugin implements Plugin |
||
16 | { |
||
17 | private $headers = []; |
||
18 | |||
19 | /** |
||
20 | * @param array $headers headers to add to the request |
||
21 | */ |
||
22 | 3 | public function __construct(array $headers) |
|
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | 1 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
|
38 | } |
||
39 |