BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
bacon
/
bacon-qr-code
/
src
/
Encoder
📤 Upload
📝 New File
📁 New Folder
Close
Editing: BlockPair.php
<?php declare(strict_types = 1); namespace BaconQrCode\Encoder; use SplFixedArray; /** * Block pair. */ final class BlockPair { /** * Creates a new block pair. * * @param SplFixedArray<int> $dataBytes Data bytes in the block. * @param SplFixedArray<int> $errorCorrectionBytes Error correction bytes in the block. */ public function __construct( private readonly SplFixedArray $dataBytes, private readonly SplFixedArray $errorCorrectionBytes ) { } /** * Gets the data bytes. * * @return SplFixedArray<int> */ public function getDataBytes() : SplFixedArray { return $this->dataBytes; } /** * Gets the error correction bytes. * * @return SplFixedArray<int> */ public function getErrorCorrectionBytes() : SplFixedArray { return $this->errorCorrectionBytes; } }
Save
Cancel