mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-19 03:10:05 +00:00
31 lines
780 B
PHP
31 lines
780 B
PHP
<?php
|
|
/**
|
|
* Class QRGdImageGIFTest
|
|
*
|
|
* @created 11.12.2021
|
|
* @author smiley <smiley@chillerlan.net>
|
|
* @copyright 2021 smiley
|
|
* @license MIT
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace chillerlan\QRCodeTest\Output;
|
|
|
|
use chillerlan\QRCode\QROptions;
|
|
use chillerlan\QRCode\Data\QRMatrix;
|
|
use chillerlan\QRCode\Output\{QRGdImageGIF, QROutputInterface};
|
|
use chillerlan\Settings\SettingsContainerInterface;
|
|
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
|
|
|
|
#[RequiresPhpExtension('gd')]
|
|
final class QRGdImageGIFTest extends QRGdImageTestAbstract{
|
|
|
|
protected function getOutputInterface(
|
|
SettingsContainerInterface|QROptions $options,
|
|
QRMatrix $matrix,
|
|
):QROutputInterface{
|
|
return new QRGdImageGIF($options, $matrix);
|
|
}
|
|
|
|
}
|