mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-01 00:10:08 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
25 lines
494 B
PHP
25 lines
494 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
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;
|
|
}
|
|
}
|