���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/tie.cx/vendor/endroid/qr-code/src/Writer/DebugWriter.php
���ѧ٧ѧ�
<?php declare(strict_types=1); namespace Endroid\QrCode\Writer; use Endroid\QrCode\Label\LabelInterface; use Endroid\QrCode\Logo\LogoInterface; use Endroid\QrCode\QrCodeInterface; use Endroid\QrCode\Writer\Result\DebugResult; use Endroid\QrCode\Writer\Result\ResultInterface; final class DebugWriter implements WriterInterface, ValidatingWriterInterface { public function write(QrCodeInterface $qrCode, LogoInterface $logo = null, LabelInterface $label = null, array $options = []): ResultInterface { return new DebugResult($qrCode, $logo, $label, $options); } public function validateResult(ResultInterface $result, string $expectedData): void { if (!$result instanceof DebugResult) { throw new \Exception('Unable to write logo: instance of DebugResult expected'); } $result->setValidateResult(true); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.11 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�