File manager - Edit - /var/www/payraty/hris/vendor/milon/barcode/src/Milon/Barcode/GS1_128/Section.php
Back
<?php namespace Milon\Barcode\GS1_128; use JsonSerializable; class Section implements JsonSerializable { /** * @var string */ private $identifier; /** * @var strings */ private $value; private $fixedLength = false; /** * @param string $identifier * @param string $value */ public function __construct($identifier, $value, $fixedLength = false) { $this->fixedLength = (bool) $fixedLength; $this->identifier = $identifier; $this->value = $value; } public function hasFixedLength() { return $this->fixedLength; } function jsonSerialize() { return [$this->identifier, $this->value]; } public function __toString() { return sprintf('%s%s', $this->identifier, $this->value); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings