/home/techb158/ileadtechnology.com/vendor/ramsey/uuid/src/Rfc4122
NameSizeModeActions
Fields.php56210644editdlrm
FieldsInterface.php38100644editdlrm
NilTrait.php9630644editdlrm
NilUuid.php5750644editdlrm
UuidBuilder.php36610644editdlrm
UuidInterface.php10120644editdlrm
UuidV1.php30110644editdlrm
UuidV2.php52500644editdlrm
UuidV3.php20040644editdlrm
UuidV4.php19240644editdlrm
UuidV5.php20090644editdlrm
Validator.php13790644editdlrm
VariantTrait.php25030644editdlrm
VersionTrait.php12270644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php (1227B)
* @license http://opensource.org/licenses/MIT MIT */ declare(strict_types=1); namespace Ramsey\Uuid\Rfc4122; /** * Provides common functionality for handling the version, as defined by RFC 4122 * * @psalm-immutable */ trait VersionTrait { /** * Returns the version */ abstract public function getVersion(): ?int; /** * Returns true if these fields represent a nil UUID */ abstract public function isNil(): bool; /** * Returns true if the version matches one of those defined by RFC 4122 * * @return bool True if the UUID version is valid, false otherwise */ private function isCorrectVersion(): bool { if ($this->isNil()) { return true; } switch ($this->getVersion()) { case 1: case 2: case 3: case 4: case 5: case 6: return true; } return false; } }