1 | <?php |
||
9 | final class HeloCommand implements RequestInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $hostName; |
||
15 | |||
16 | /** |
||
17 | * HeloCommand constructor. |
||
18 | * @param string $hostName |
||
19 | */ |
||
20 | 2 | public function __construct($hostName) |
|
24 | |||
25 | /** |
||
26 | * @param ConnectionInterface $connection |
||
27 | * @return void |
||
28 | */ |
||
29 | 2 | public function execute(ConnectionInterface $connection): void |
|
33 | } |
||
34 |