1 | <?php |
||
8 | final class DataLogConnection implements ConnectionInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ConnectionInterface |
||
12 | */ |
||
13 | private $decoratedConnection; |
||
14 | |||
15 | /** |
||
16 | * @var LoggerInterface |
||
17 | */ |
||
18 | private $logger; |
||
19 | |||
20 | /** |
||
21 | * @param ConnectionInterface $decoratedConnection |
||
22 | * @param LoggerInterface $logger |
||
23 | */ |
||
24 | public function __construct(ConnectionInterface $decoratedConnection, LoggerInterface $logger) |
||
29 | |||
30 | /** |
||
31 | * @param string $name |
||
32 | * @param \Closure $callback |
||
33 | */ |
||
34 | public function addListener(string $name, \Closure $callback): void |
||
38 | |||
39 | /** |
||
40 | * @return void |
||
41 | */ |
||
42 | public function connect(): void |
||
46 | |||
47 | /** |
||
48 | * @return void |
||
49 | */ |
||
50 | public function disconnect(): void |
||
54 | |||
55 | /** |
||
56 | * @param string $request |
||
57 | * @return int |
||
58 | */ |
||
59 | public function send(string $request): int |
||
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | public function receive(): string |
||
74 | |||
75 | /** |
||
76 | * @param int $type |
||
77 | */ |
||
78 | public function upgrade(int $type): void |
||
82 | |||
83 | /** |
||
84 | * @param float $timeout |
||
85 | */ |
||
86 | public function timeout(float $timeout): void |
||
90 | |||
91 | /** |
||
92 | * @param array<int, string> $keys |
||
93 | * @return array<string, mixed> |
||
|
|||
94 | */ |
||
95 | public function getMetaData(array $keys = []): array |
||
99 | } |
||
100 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.