1 | <?php |
||
14 | class LoggerDecoratedWire implements WireInterface, LoggerAwareInterface |
||
15 | { |
||
16 | use LoggerAwareTrait; |
||
17 | |||
18 | /** |
||
19 | * @var WireInterface |
||
20 | */ |
||
21 | private $wire; |
||
22 | |||
23 | /** |
||
24 | * @param WireInterface $wire |
||
25 | * @param LoggerInterface $logger |
||
26 | */ |
||
27 | 8 | public function __construct(WireInterface $wire, LoggerInterface $logger) |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 1 | public function setHeartbeat(HeartbeatInterface $heartbeat) |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 1 | public function setFrameMax($frameMax) |
|
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | 1 | public function open(Url $url) |
|
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | 1 | public function next($blocking = true) |
|
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | 1 | public function send(Frame $frame) |
|
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | 1 | public function wait($channel, $types) |
|
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | 1 | public function subscribe($channel, WireSubscriberInterface $handler) |
|
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | 1 | public function close() |
|
116 | } |
||
117 |