12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- declare(strict_types = 1);
- namespace BaconQrCode\Encoder;
- use SplFixedArray;
- final class BlockPair
- {
-
- private $dataBytes;
-
- private $errorCorrectionBytes;
-
- public function __construct(SplFixedArray $data, SplFixedArray $errorCorrection)
- {
- $this->dataBytes = $data;
- $this->errorCorrectionBytes = $errorCorrection;
- }
-
- public function getDataBytes() : SplFixedArray
- {
- return $this->dataBytes;
- }
-
- public function getErrorCorrectionBytes() : SplFixedArray
- {
- return $this->errorCorrectionBytes;
- }
- }
|