public static function getProvisionalVersionForDimension(int $dimension) : self
    {
        if (1 !== $dimension % 4) {
            throw new InvalidArgumentException('Dimension is not 1 mod 4');
        }

        return self::getVersionForNumber(intdiv($dimension - 17, 4));
    }
public static function getProvisionalVersionForDimension(int $dimension) : self
    {
        if (1 !== $dimension % 4) {
            throw new InvalidArgumentException('Dimension is not 1 mod 4');
        }

        return self::getVersionForNumber(intdiv($dimension - 17, 4));
    }
public static function getProvisionalVersionForDimension ( int $ dimension ) : self { if ( 1 !== $ dimension % 4 ) { throw new InvalidArgumentException ( 'Dimension is not 1 mod 4' ) ; } return self :: getVersionForNumber ( intdiv ( $ dimension - 17 , 4 ) ) ; }
Gets a provisional version number for a specific dimension.

@throws InvalidArgumentException if dimension is not 1 mod 4
Gets a provisional version number for a specific dimension .