Page MenuHomeDevCentral

Port.php
No OneTemporary

Port.php

<?php
declare(strict_types=1);
namespace Keruald\OmniTools\Network;
class Port {
///
/// Properties
///
public Protocol $protocol;
public int $number;
///
/// Constructor
///
public function __construct (int $number, Protocol $protocol = Protocol::TCP) {
$this->number = $number;
$this->protocol = $protocol;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 16, 13:25 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3138575
Default Alt Text
Port.php (377 B)

Event Timeline