1 | <?php |
||
6 | final class TrimCrlfConnection implements ConnectionInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var ConnectionInterface |
||
10 | */ |
||
11 | private $decoratedConnection; |
||
12 | |||
13 | /** |
||
14 | * @param ConnectionInterface $decoratedConnection |
||
15 | */ |
||
16 | 6 | public function __construct(ConnectionInterface $decoratedConnection) |
|
20 | |||
21 | /** |
||
22 | * @param string $name |
||
23 | * @param \Closure $callback |
||
24 | */ |
||
25 | public function addListener(string $name, \Closure $callback): void |
||
29 | |||
30 | /** |
||
31 | * @return void |
||
32 | */ |
||
33 | public function connect(): void |
||
37 | |||
38 | /** |
||
39 | * @return void |
||
40 | */ |
||
41 | 6 | public function disconnect(): void |
|
45 | |||
46 | /** |
||
47 | * @param string $request |
||
48 | * @return int |
||
49 | */ |
||
50 | 6 | public function send(string $request): int |
|
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | 6 | public function receive(): string |
|
62 | |||
63 | /** |
||
64 | * @param int $type |
||
65 | */ |
||
66 | public function upgrade(int $type): void |
||
70 | |||
71 | /** |
||
72 | * @param float $timeout |
||
73 | */ |
||
74 | public function timeout(float $timeout): void |
||
78 | |||
79 | /** |
||
80 | * @param array<int, string> $keys |
||
81 | * @return array<string, mixed> |
||
|
|||
82 | */ |
||
83 | public function getMetaData(array $keys = []): array |
||
87 | } |
||
88 |
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.