value->toString(); } public function equals(self $other): bool { return $this->value->equals($other); } public function __toString(): string { return $this->toString(); } public static function validate(string|array $uuid): bool { $uuids = is_array($uuid) ? $uuid : [$uuid]; foreach ($uuids as $u) { if (!RamseyUuid::isValid($u)) { return false; } } return true; } }