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