QRGdImageAVIFTest.php 718 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Class QRGdImageAVIFTest
  4. *
  5. * @created 27.11.2023
  6. * @author smiley <smiley@chillerlan.net>
  7. * @copyright 2023 smiley
  8. * @license MIT
  9. */
  10. namespace Output;
  11. use chillerlan\QRCode\QROptions;
  12. use chillerlan\QRCode\Data\QRMatrix;
  13. use chillerlan\QRCodeTest\Output\QRGdImageTestAbstract;
  14. use chillerlan\QRCode\Output\{QRGdImageAVIF, QROutputInterface};
  15. use chillerlan\Settings\SettingsContainerInterface;
  16. /**
  17. *
  18. */
  19. final class QRGdImageAVIFTest extends QRGdImageTestAbstract{
  20. protected function getOutputInterface(
  21. SettingsContainerInterface|QROptions $options,
  22. QRMatrix $matrix
  23. ):QROutputInterface{
  24. return new QRGdImageAVIF($options, $matrix);
  25. }
  26. }