mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 14:30:13 +00:00
21 lines
389 B
PHP
21 lines
389 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace AIO\Container;
|
|
|
|
class ContainerVolumes {
|
|
/** @var ContainerVolume[] */
|
|
private array $volumes = [];
|
|
|
|
public function AddVolume(ContainerVolume $volume) : void {
|
|
$this->volumes[] = $volume;
|
|
}
|
|
|
|
/**
|
|
* @return ContainerVolume[]
|
|
*/
|
|
public function GetVolumes() : array {
|
|
return $this->volumes;
|
|
}
|
|
}
|