File manager - Edit - /home/autoph/public_html/projects/api/vendor/picqer/php-barcode-generator/src/BarcodeBar.php
Back
<?php namespace Picqer\Barcode; class BarcodeBar { protected $width; protected $height; protected $positionVertical; protected $type; const TYPE_BAR = 1; const TYPE_SPACING = 0; public function __construct(int $width, int $height, bool $drawBar = true, int $positionVertical = 0) { $this->width = $width; $this->height = $height; $this->positionVertical = $positionVertical; $this->type = $drawBar ? self::TYPE_BAR : self::TYPE_SPACING; } public function getWidth(): int { return $this->width; } public function getHeight(): int { return $this->height; } public function getPositionVertical(): int { return $this->positionVertical; } public function isBar(): bool { return $this->type === self::TYPE_BAR; } }
| ver. 1.4 |
.
| PHP 8.0.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings