1 | <?php |
||
11 | class HeaderAppendPlugin implements Plugin |
||
12 | { |
||
13 | |||
14 | private $headers = []; |
||
15 | |||
16 | /** |
||
17 | * @param array $headers headers to add to the request |
||
18 | */ |
||
19 | 3 | public function __construct(array $headers) |
|
23 | |||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | 1 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
|
37 | } |
||
38 |