mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-06 22:07:58 +00:00
allow to set aio_variables from containers.json
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
49aca0d955
commit
395380ea2b
5 changed files with 56 additions and 1 deletions
19
php/src/Container/AioVariables.php
Normal file
19
php/src/Container/AioVariables.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace AIO\Container;
|
||||
|
||||
class AioVariables {
|
||||
/** @var string[] */
|
||||
private array $variables = [];
|
||||
|
||||
public function AddVariable(string $variable) : void {
|
||||
$this->variables[] = $variable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function GetVariables() : array {
|
||||
return $this->variables;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue