mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Initial import
This commit is contained in:
commit
2295a33590
884 changed files with 93939 additions and 0 deletions
19
php/src/Container/ContainerVolumes.php
Normal file
19
php/src/Container/ContainerVolumes.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue