comparison vendor/phar-io/version/src/AbstractVersionConstraint.php @ 2:5311817fb629

Theme updates
author Chris Cannam
date Tue, 10 Jul 2018 13:19:18 +0000
parents
children
comparison
equal deleted inserted replaced
1:0b0e5f3b1e83 2:5311817fb629
1 <?php
2 /*
3 * This file is part of PharIo\Version.
4 *
5 * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 namespace PharIo\Version;
12
13 abstract class AbstractVersionConstraint implements VersionConstraint {
14 /**
15 * @var string
16 */
17 private $originalValue = '';
18
19 /**
20 * @param string $originalValue
21 */
22 public function __construct($originalValue) {
23 $this->originalValue = $originalValue;
24 }
25
26 /**
27 * @return string
28 */
29 public function asString() {
30 return $this->originalValue;
31 }
32 }