public function validate(int $uuid, int $expecting_type_id = null): int
    {
        if ($uuid < 1 || $uuid > 9223372036854775807) {
            throw $this->c::issue('UUID64 out of range.');
        }
        if (isset($expecting_type_id)) {
            $this->typeIdIn($uuid, $expecting_type_id);
        }
        return $uuid;
    }
public function validate(int $uuid, int $expecting_type_id = null): int
    {
        if ($uuid < 1 || $uuid > 9223372036854775807) {
            throw $this->c::issue('UUID64 out of range.');
        }
        if (isset($expecting_type_id)) {
            $this->typeIdIn($uuid, $expecting_type_id);
        }
        return $uuid;
    }
public function validate ( int $ uuid , int $ expecting_type_id = null ) : int { if ( $ uuid < 1 || $ uuid > 9223372036854775807 ) { throw $ this -> c :: issue ( 'UUID64 out of range.' ) ; } if ( isset ( $ expecting_type_id ) ) { $ this -> typeIdIn ( $ uuid , $ expecting_type_id ) ; } return $ uuid ; }
UUID64 validator.

@since 150424 Initial release.

@param int      $uuid              Input UUID64 (64 bits signed max `9223372036854775807`).
@param int|null $expecting_type_id Expected type ID.

@return int Validated UUID64 (64-bits signed max `9223372036854775807`).
UUID64 validator .