1 | <?php |
||
10 | class StackPlugin implements Plugin |
||
11 | { |
||
12 | /** |
||
13 | * @var Collector |
||
14 | */ |
||
15 | private $collector; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | /** |
||
23 | * @var Formatter |
||
24 | */ |
||
25 | private $formatter; |
||
26 | |||
27 | /** |
||
28 | * @param Collector $collector |
||
29 | * @param Formatter $formatter |
||
30 | * @param string $client |
||
31 | */ |
||
32 | public function __construct(Collector $collector, Formatter $formatter, $client) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
||
60 | } |
||
61 |