mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-30 15:30:08 +00:00
20 lines
321 B
PHP
20 lines
321 B
PHP
<?php
|
|
|
|
namespace AIO\Container;
|
|
|
|
class ContainerPorts {
|
|
/** @var string[] */
|
|
private array $ports = [];
|
|
|
|
public function AddPort(string $port) : void {
|
|
$this->ports[] = $port;
|
|
}
|
|
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function GetPorts() : array {
|
|
return $this->ports;
|
|
}
|
|
}
|