Files
php-qrcode/classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html

2050 lines
95 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png"/>
<link rel="icon" href="images/favicon.ico"/>
<link rel="apple-touch-icon" href="images/apple-touch-icon.png"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
<li class="phpdocumentor-topnav__menu-item -menu">
<a href="https://php-qrcode.readthedocs.io">
<span>
User Manual
</span>
</a>
</li>
<li class="phpdocumentor-topnav__menu-item -social">
<a href="https://github.com/chillerlan/php-qrcode">
<span>
<i class="fab fa-github"></i>
</span>
</a>
</li>
<li class="phpdocumentor-topnav__menu-item -social">
<a href="https://github.com/chillerlan/php-qrcode/discussions">
<span>
<i class="fas fa-envelope-open-text"></i>
</span>
</a>
</li>
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category -namespaces">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/chillerlan.html" class="">chillerlan</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
</li>
<li>
<a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category -packages">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/Application.html" class="">Application</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category -reports">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category -indices">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-data.html">Data</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
QRMatrixTest
<span class="phpdocumentor-element__extends">
extends <abbr title="\PHPUnit\Framework\TestCase">TestCase</abbr>
</span>
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
</ul>
</div>
<span class="phpdocumentor-element__extends">
uses
<a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html"><abbr title="\chillerlan\QRCodeTest\Traits\QRMatrixDebugTrait">QRMatrixDebugTrait</abbr></a> </span>
</h2>
<div class="phpdocumentor-label-line">
<div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
</div>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">25</span>
</aside>
<p class="phpdocumentor-summary">Tests the QRMatrix class</p>
<h3 id="toc">
Table of Contents
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-constants">
Constants
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -constant -private">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version">version</a>
<span>
&nbsp;: int&nbsp;= 40 </span>
</dt>
</dl>
<h4 id="toc-properties">
Properties
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix">$matrix</a>
<span>
&nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
</dt>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours">checkNeighbours()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests checking the adjacent modules</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn">checkTypeIn()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip">flip()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests flipping the value of a module</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC">getECC()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if eccLevel() returns the current (given) ECC level</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern">getMaskPattern()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if maskPattern() returns the current (or default) mask pattern</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck">getSetCheck()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the set(), get() and check() methods</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize">getSize()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if size() returns the actual matrix size/count</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion">getVersion()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if version() returns the current (given) version</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider">matrixProvider()</a>
<span>
&nbsp;: <abbr title="\Generator">Generator</abbr> </span>
</dt>
<dd>Version data provider for several pattern tests</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90">rotate90()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests rotating the matrix by 90 degrees CW</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern">setAlignmentPattern()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule">setDarkModule()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests setting the dark module and verifies its position</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern">setFinderPattern()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests setting the finder patterns and verifies their positions</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo">setFormatInfo()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the format patterns and verifies their positions</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException">setLogoSpaceExceedsException()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests whether an exception is thrown when width or height exceed the matrix size</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException">setLogoSpaceInvalidEccException()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests whether an exception is thrown when an ECC level other than &quot;H&quot; is set when attempting to add logo space</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException">setLogoSpaceMaxSizeException()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension">setLogoSpaceOmitDimension()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if the logo space is drawn square if one of the dimensions is omitted</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation">setLogoSpaceOrientation()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the auto orientation of the logo space</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition">setLogoSpacePosition()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the manual positioning of the logo space</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone">setQuietZone()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the quiet zone pattern and verifies its position</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException">setQuietZoneException()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests if an exception is thrown in an attempt to create the quiet zone before data was written</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators">setSeparators()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the separator patterns and verifies their positions</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern">setTimingPattern()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the timing patterns and verifies their positions</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber">setVersionNumber()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Tests the version patterns and verifies their positions - version &lt; 7 skipped</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a class="" href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>Matrix debugging console output</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a class="" href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm">dm()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>debugging shortcut - limit to a single version when using with matrixProvider</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
<a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp">setUp()</a>
<span>
&nbsp;: void </span>
</dt>
<dd>invokes a QRMatrix object</dd>
</dl>
<section class="phpdocumentor-constants">
<h3 class="phpdocumentor-elements__header" id="constants">
Constants
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article class="phpdocumentor-element -constant -private ">
<h4 class="phpdocumentor-element__name" id="constant_version">
version
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">28</span>
</aside>
<code class="phpdocumentor-signature phpdocumentor-code ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type">int</span>
<span class="phpdocumentor-signature__name">version</span>
= <span class="phpdocumentor-signature__default-value">40</span>
</code>
</article>
</section>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-private
"
>
<h4 class="phpdocumentor-element__name" id="property_matrix">
$matrix
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">29</span>
</aside>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
<span class="phpdocumentor-signature__name">$matrix</span>
</code>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_checkNeighbours">
checkNeighbours()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">488</span>
</aside>
<p class="phpdocumentor-summary">Tests checking the adjacent modules</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">checkNeighbours</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_checkNeighbours_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_checkTypeIn">
checkTypeIn()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">477</span>
</aside>
<p class="phpdocumentor-summary">Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">checkTypeIn</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_checkTypeIn_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_flip">
flip()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">456</span>
</aside>
<p class="phpdocumentor-summary">Tests flipping the value of a module</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">flip</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_flip_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getECC">
getECC()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">60</span>
</aside>
<p class="phpdocumentor-summary">Tests if eccLevel() returns the current (given) ECC level</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getECC</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_getECC_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getMaskPattern">
getMaskPattern()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">68</span>
</aside>
<p class="phpdocumentor-summary">Tests if maskPattern() returns the current (or default) mask pattern</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getMaskPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_getMaskPattern_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getSetCheck">
getSetCheck()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">80</span>
</aside>
<p class="phpdocumentor-summary">Tests the set(), get() and check() methods</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getSetCheck</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_getSetCheck_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getSize">
getSize()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">44</span>
</aside>
<p class="phpdocumentor-summary">Tests if size() returns the actual matrix size/count</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_getSize_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_getVersion">
getVersion()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">52</span>
</aside>
<p class="phpdocumentor-summary">Tests if version() returns the current (given) version</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_getVersion_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_matrixProvider">
matrixProvider()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">105</span>
</aside>
<p class="phpdocumentor-summary">Version data provider for several pattern tests</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">matrixProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
<div class="phpdocumentor-label-line">
</div>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_rotate90">
rotate90()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">301</span>
</aside>
<p class="phpdocumentor-summary">Tests rotating the matrix by 90 degrees CW</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">rotate90</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_rotate90_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setAlignmentPattern">
setAlignmentPattern()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">160</span>
</aside>
<p class="phpdocumentor-summary">Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setAlignmentPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setAlignmentPattern_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setDarkModule">
setDarkModule()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">116</span>
</aside>
<p class="phpdocumentor-summary">Tests setting the dark module and verifies its position</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setDarkModule</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setDarkModule_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setFinderPattern">
setFinderPattern()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">129</span>
</aside>
<p class="phpdocumentor-summary">Tests setting the finder patterns and verifies their positions</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setFinderPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setFinderPattern_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setFormatInfo">
setFormatInfo()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">242</span>
</aside>
<p class="phpdocumentor-summary">Tests the format patterns and verifies their positions</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setFormatInfo</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setFormatInfo_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpaceExceedsException">
setLogoSpaceExceedsException()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">426</span>
</aside>
<p class="phpdocumentor-summary">Tests whether an exception is thrown when width or height exceed the matrix size</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpaceExceedsException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpaceExceedsException_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpaceInvalidEccException">
setLogoSpaceInvalidEccException()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">415</span>
</aside>
<p class="phpdocumentor-summary">Tests whether an exception is thrown when an ECC level other than &quot;H&quot; is set when attempting to add logo space</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpaceInvalidEccException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpaceInvalidEccException_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpaceMaxSizeException">
setLogoSpaceMaxSizeException()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">441</span>
</aside>
<p class="phpdocumentor-summary">Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpaceMaxSizeException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpaceMaxSizeException_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpaceOmitDimension">
setLogoSpaceOmitDimension()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">338</span>
</aside>
<p class="phpdocumentor-summary">Tests if the logo space is drawn square if one of the dimensions is omitted</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpaceOmitDimension</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpaceOmitDimension_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpaceOrientation">
setLogoSpaceOrientation()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">361</span>
</aside>
<p class="phpdocumentor-summary">Tests the auto orientation of the logo space</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpaceOrientation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpaceOrientation_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setLogoSpacePosition">
setLogoSpacePosition()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">386</span>
</aside>
<p class="phpdocumentor-summary">Tests the manual positioning of the logo space</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setLogoSpacePosition</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setLogoSpacePosition_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setQuietZone">
setQuietZone()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">258</span>
</aside>
<p class="phpdocumentor-summary">Tests the quiet zone pattern and verifies its position</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setQuietZone</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setQuietZone_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setQuietZoneException">
setQuietZoneException()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">290</span>
</aside>
<p class="phpdocumentor-summary">Tests if an exception is thrown in an attempt to create the quiet zone before data was written</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setQuietZoneException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setQuietZoneException_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setSeparators">
setSeparators()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">144</span>
</aside>
<p class="phpdocumentor-summary">Tests the separator patterns and verifies their positions</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setSeparators</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setSeparators_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setTimingPattern">
setTimingPattern()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">192</span>
</aside>
<p class="phpdocumentor-summary">Tests the timing patterns and verifies their positions</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setTimingPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setTimingPattern_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
"
>
<h4 class="phpdocumentor-element__name" id="method_setVersionNumber">
setVersionNumber()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">221</span>
</aside>
<p class="phpdocumentor-summary">Tests the version patterns and verifies their positions - version &lt; 7 skipped</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">setVersionNumber</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<section class="phpdocumentor-attributes">
<h5 class="phpdocumentor-elements__header" id="method_setVersionNumber_attributes">
Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber_attributes" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
</dt>
<dd class="phpdocumentor-argument-list__entry">
&#039;matrixProvider&#039;
</dd>
</dl>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
#[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
</dt>
</dl>
</section>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_debugMatrix">
debugMatrix()
<a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/QRMatrixDebugTrait.php"><a href="files/tests-traits-qrmatrixdebugtrait.html"><abbr title="tests/Traits/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">27</span>
</aside>
<p class="phpdocumentor-summary">Matrix debugging console output</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">debugMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_dm">
dm()
<a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/QRMatrixDebugTrait.php"><a href="files/tests-traits-qrmatrixdebugtrait.html"><abbr title="tests/Traits/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">84</span>
</aside>
<p class="phpdocumentor-summary">debugging shortcut - limit to a single version when using with matrixProvider</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">dm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-argument-list__argument__name">$matrix</span>
: <span class="phpdocumentor-argument-list__argument__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="method_dm_tags">
Tags
<a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm_tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">see</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCodeTest\Traits\QRMatrixTest::matrixProvider()">QRMatrixTest::matrixProvider()</abbr></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-protected
"
>
<h4 class="phpdocumentor-element__name" id="method_setUp">
setUp()
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">34</span>
</aside>
<p class="phpdocumentor-summary">invokes a QRMatrix object</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">protected</span>
<span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
<div class="phpdocumentor-label-line">
</div>
</article>
</section>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-constants">Constants</a></li>
<li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-properties">Properties</a></li>
<li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version">version</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix">$matrix</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours">checkNeighbours()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn">checkTypeIn()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip">flip()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC">getECC()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern">getMaskPattern()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck">getSetCheck()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize">getSize()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion">getVersion()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider">matrixProvider()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90">rotate90()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern">setAlignmentPattern()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule">setDarkModule()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern">setFinderPattern()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo">setFormatInfo()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException">setLogoSpaceExceedsException()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException">setLogoSpaceInvalidEccException()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException">setLogoSpaceMaxSizeException()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension">setLogoSpaceOmitDimension()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation">setLogoSpaceOrientation()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition">setLogoSpacePosition()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone">setQuietZone()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException">setQuietZoneException()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators">setSeparators()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern">setTimingPattern()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber">setVersionNumber()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm">dm()</a></li>
<li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp">setUp()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>