| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Marking |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param int $port |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public static function viaTCP(int $port) : string |
||
| 21 | { |
||
| 22 | return Tags::CMD . sprintf('%s:%s::%d', Named::KEY, Named::TCP, $port); |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $tagging |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | public static function commTCP(string $tagging) : int |
||
| 39 | } |
||
| 40 | } |
||
| 41 |