File manager - Edit - /var/www/payraty/helpdesk/vendor/intervention/gif/src/Blocks/DataSubBlock.php
Back
<?php declare(strict_types=1); namespace Intervention\Gif\Blocks; use Intervention\Gif\AbstractEntity; use Intervention\Gif\Exceptions\FormatException; class DataSubBlock extends AbstractEntity { public function __construct(protected string $value) { if ($this->getSize() > 255) { throw new FormatException( 'Data Sub-Block can not have a block size larger than 255 bytes.' ); } } public function getSize(): int { return strlen($this->value); } public function getValue(): string { return $this->value; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings