Skip to content

QROutputInterface

Converts the data matrix into readable output

  • Full name: \chillerlan\QRCode\Output\QROutputInterface

Constants

Constant Visibility Type Value
DEFAULT_MODULE_VALUES public [
// light
\chillerlan\QRCode\Data\QRMatrix::M_NULL => false,
// 0
\chillerlan\QRCode\Data\QRMatrix::M_DATA => false,
// 4
\chillerlan\QRCode\Data\QRMatrix::M_FINDER => false,
// 6
\chillerlan\QRCode\Data\QRMatrix::M_SEPARATOR => false,
// 8
\chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT => false,
// 10
\chillerlan\QRCode\Data\QRMatrix::M_TIMING => false,
// 12
\chillerlan\QRCode\Data\QRMatrix::M_FORMAT => false,
// 14
\chillerlan\QRCode\Data\QRMatrix::M_VERSION => false,
// 16
\chillerlan\QRCode\Data\QRMatrix::M_QUIETZONE => false,
// 18
\chillerlan\QRCode\Data\QRMatrix::M_LOGO => false,
// 20
\chillerlan\QRCode\Data\QRMatrix::M_TEST => false,
// 255
// dark
\chillerlan\QRCode\Data\QRMatrix::M_DARKMODULE << 8 => true,
// 512
\chillerlan\QRCode\Data\QRMatrix::M_DATA << 8 => true,
// 1024
\chillerlan\QRCode\Data\QRMatrix::M_FINDER << 8 => true,
// 1536
\chillerlan\QRCode\Data\QRMatrix::M_ALIGNMENT << 8 => true,
// 2560
\chillerlan\QRCode\Data\QRMatrix::M_TIMING << 8 => true,
// 3072
\chillerlan\QRCode\Data\QRMatrix::M_FORMAT << 8 => true,
// 3584
\chillerlan\QRCode\Data\QRMatrix::M_VERSION << 8 => true,
// 4096
\chillerlan\QRCode\Data\QRMatrix::M_FINDER_DOT << 8 => true,
// 5632
\chillerlan\QRCode\Data\QRMatrix::M_TEST << 8 => true,
]

Methods

dump

generates the output, optionally dumps it to a file, and returns it

public dump(string $file = null): mixed

Parameters:

Parameter Type Description
$file string


Automatically generated on 2025-03-18