mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 15:06:50 +00:00
19 lines
No EOL
341 B
PHP
19 lines
No EOL
341 B
PHP
<?php
|
|
|
|
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;
|
|
}
|
|
} |