aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppStore/Version/Version.php
blob: b7e679d250ad9b5d5bdfbe0326efadcc717a753c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
 * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OC\App\AppStore\Version;

class Version {
	/**
	 * @param string $minVersion
	 * @param string $maxVersion
	 */
	public function __construct(
		private string $minVersion,
		private string $maxVersion,
	) {
	}

	/**
	 * @return string
	 */
	public function getMinimumVersion() {
		return $this->minVersion;
	}

	/**
	 * @return string
	 */
	public function getMaximumVersion() {
		return $this->maxVersion;
	}
}