<?php declare(strict_types = 1); /* * This file is part of PharIo\Version. * * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PharIo\Version; class BuildMetaData { /** @var string */ private $value; public function __construct(string $value) { $this->value = $value; } public function asString(): string { return $this->value; } public function equals(BuildMetaData $other): bool { return $this->asString() === $other->asString(); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
constraints | Folder | 0755 |
|
|
exceptions | Folder | 0755 |
|
|
BuildMetaData.php | File | 719 B | 0644 |
|
PreReleaseSuffix.php | File | 1.84 KB | 0644 |
|
Version.php | File | 5.79 KB | 0644 |
|
VersionConstraintParser.php | File | 3.75 KB | 0644 |
|
VersionConstraintValue.php | File | 2.54 KB | 0644 |
|
VersionNumber.php | File | 673 B | 0644 |
|