mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
refactor containerports
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
1194b7a1ff
commit
5dc9fad2d6
6 changed files with 103 additions and 47 deletions
19
php/src/Container/ContainerPort.php
Normal file
19
php/src/Container/ContainerPort.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace AIO\Container;
|
||||
|
||||
class ContainerPort {
|
||||
public string $port;
|
||||
public string $ipBinding;
|
||||
public bool $protocol;
|
||||
|
||||
public function __construct(
|
||||
string $port,
|
||||
string $ipBinding,
|
||||
bool $protocol
|
||||
) {
|
||||
$this->port = $port;
|
||||
$this->ipBinding = $ipBinding;
|
||||
$this->protocol = $protocol;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue