We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395
still has access to your repository or
update the API account.
1 | <?php |
||
9 | class ApiVersionPlugin implements Plugin |
||
10 | { |
||
11 | /** @var string */ |
||
12 | private $version; |
||
13 | /** |
||
14 | * @param string $version |
||
15 | */ |
||
16 | public function __construct($version) |
||
20 | |||
21 | /** |
||
22 | * @param RequestInterface $request |
||
23 | * @param callable $next Next middleware in the chain, the request is passed as the first argument |
||
24 | * @param callable $first First middleware in the chain, used to to restart a request |
||
25 | * |
||
26 | * @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception (The same as HttpAsyncClient). |
||
27 | */ |
||
28 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
||
37 | } |
||
38 |