芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/vendor/bacon/bacon-qr-code/src/Common/ErrorCorrectionLevel.php
bits = $bits; } /** * @throws OutOfBoundsException if number of bits is invalid */ public static function forBits(int $bits) : self { switch ($bits) { case 0: return self::M(); case 1: return self::L(); case 2: return self::H(); case 3: return self::Q(); } throw new OutOfBoundsException('Invalid number of bits'); } /** * Returns the two bits used to encode this error correction level. */ public function getBits() : int { return $this->bits; } }