aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppStore/Version/Version.php
blob: 2d169a291f12a73fb53e4ca272189afc36f69ddc (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
33
<?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;
	}
}