mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
20 lines
357 B
PHP
20 lines
357 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace AIO\Container;
|
||
|
|
|
||
|
|
class ContainerVolumes {
|
||
|
|
/** @var ContainerVolume[] */
|
||
|
|
private array $volumes = [];
|
||
|
|
|
||
|
|
public function AddVolume(ContainerVolume $volume) {
|
||
|
|
$this->volumes[] = $volume;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return ContainerVolume[]
|
||
|
|
*/
|
||
|
|
public function GetVolumes() : array {
|
||
|
|
return $this->volumes;
|
||
|
|
}
|
||
|
|
}
|