Total Complexity | 5 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | class Tagging implements Layered |
||
19 | { |
||
20 | /** |
||
21 | * @var Cluster |
||
22 | */ |
||
23 | private $cluster = null; |
||
24 | |||
25 | /** |
||
26 | * Tagging constructor. |
||
27 | * @param Cluster $cluster |
||
28 | */ |
||
29 | public function __construct(Cluster $cluster) |
||
30 | { |
||
31 | $this->cluster = $cluster; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param Request $request |
||
36 | * @param Context $ctx |
||
37 | * @return Request |
||
38 | */ |
||
39 | public function inbound($request, Context $ctx) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @param Response $response |
||
47 | * @param Context $ctx |
||
48 | * @return Response |
||
49 | */ |
||
50 | public function outbound($response, Context $ctx) |
||
51 | { |
||
52 | return $response; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param Throwable $e |
||
57 | * @param Context $ctx |
||
58 | * @throws Throwable |
||
59 | */ |
||
60 | public function exception(Throwable $e, Context $ctx) |
||
63 | } |
||
64 | } |
||
65 |