12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- declare(strict_types = 1);
- namespace BaconQrCode\Common;
- final class EcBlock
- {
-
- private $count;
-
- private $dataCodewords;
- public function __construct(int $count, int $dataCodewords)
- {
- $this->count = $count;
- $this->dataCodewords = $dataCodewords;
- }
-
- public function getCount() : int
- {
- return $this->count;
- }
-
- public function getDataCodewords() : int
- {
- return $this->dataCodewords;
- }
- }
|