1 | <?php |
||
15 | class EmptyFrame implements FrameInterface |
||
16 | { |
||
17 | /** |
||
18 | * Remote address |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | private $remoteAddress; |
||
23 | |||
24 | /** |
||
25 | * EmptyFrame constructor. |
||
26 | * |
||
27 | * @param string $remoteAddress Remote host address |
||
28 | */ |
||
29 | 3 | public function __construct($remoteAddress) |
|
33 | |||
34 | /** {@inheritdoc} */ |
||
35 | 2 | public function getRemoteAddress() |
|
39 | |||
40 | /** {@inheritdoc} */ |
||
41 | 1 | public function getData() |
|
45 | |||
46 | /** {@inheritdoc} */ |
||
47 | 1 | public function __toString() |
|
51 | } |
||
52 |