1 | <?php |
||
13 | class DockerPortMapping |
||
14 | { |
||
15 | const DIC = self::class; |
||
16 | |||
17 | public $containerPort = 0; |
||
18 | |||
19 | public $hostPort = 0; |
||
20 | |||
21 | public $servicePort = 0; |
||
22 | |||
23 | public $protocol = 'tcp'; |
||
24 | |||
25 | public $name = null; |
||
26 | |||
27 | 5 | public function __construct($data = []) |
|
31 | |||
32 | 1 | public static function less(DockerPortMapping $left, DockerPortMapping $right) |
|
52 | } |
||
53 |