1 | <?php |
||
9 | class Key extends AbstractMiddleware |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | public $key; |
||
16 | |||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | public function __invoke(RequestInterface $request, ResponseInterface $response, callable $next = null) |
||
24 | |||
25 | /** |
||
26 | * @param RequestInterface $request |
||
27 | * @return RequestInterface |
||
28 | */ |
||
29 | private function prepRequest(RequestInterface $request) |
||
51 | } |
||
52 |