chillerlan-QRCodeTest-QRCodeReaderImagickTest.html 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <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" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  111. </ul>
  112. <article class="phpdocumentor-element -class">
  113. <h2 class="phpdocumentor-content__title">
  114. QRCodeReaderImagickTest
  115. <span class="phpdocumentor-element__extends">
  116. extends <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\QRCodeReaderTestAbstract">QRCodeReaderTestAbstract</abbr></a>
  117. </span>
  118. <div class="phpdocumentor-element__package">
  119. in package
  120. <ul class="phpdocumentor-breadcrumbs">
  121. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  122. </ul>
  123. </div>
  124. </h2>
  125. <div class="phpdocumentor-label-line">
  126. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  127. </div>
  128. <aside class="phpdocumentor-element-found-in">
  129. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  130. :
  131. <span class="phpdocumentor-element-found-in__line">25</span>
  132. </aside>
  133. <p class="phpdocumentor-summary">Tests the Imagick based reader</p>
  134. <h3 id="toc">
  135. Table of Contents
  136. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  137. </h3>
  138. <h4 id="toc-constants">
  139. Constants
  140. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  141. </h4>
  142. <dl class="phpdocumentor-table-of-contents">
  143. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  144. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a>
  145. <span>
  146. &nbsp;= &#039;Just let this happen. We just let this flow right out of our minds. &#039; . &#039;Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, &#039; . &#039;I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. &#039; . &#039;You have to make almighty decisions when you\&#039;re the creator. I guess that would be considered a UFO. &#039; . &#039;A big cotton ball in the sky. I\&#039;m gonna add just a tiny little amount of Prussian Blue. &#039; . &#039;They say everything looks better with odd numbers of things. But sometimes I put even numbers—just &#039; . &#039;to upset the critics. We\&#039;ll lay all these little funky little things in there. &#039; </span>
  147. </dt>
  148. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  149. <a class="" href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a>
  150. <span>
  151. &nbsp;= [
  152. // v =&gt; [NUMERIC =&gt; [L, M, Q, H ], ALPHANUM =&gt; [L, M, Q, H], BINARY =&gt; [L, M, Q, H ], KANJI =&gt; [L, M, Q, H ]]
  153. 1 =&gt; [[41, 34, 27, 17], [25, 20, 16, 10], [17, 14, 11, 7], [10, 8, 7, 4]],
  154. 2 =&gt; [[77, 63, 48, 34], [47, 38, 29, 20], [32, 26, 20, 14], [20, 16, 12, 8]],
  155. 3 =&gt; [[127, 101, 77, 58], [77, 61, 47, 35], [53, 42, 32, 24], [32, 26, 20, 15]],
  156. 4 =&gt; [[187, 149, 111, 82], [114, 90, 67, 50], [78, 62, 46, 34], [48, 38, 28, 21]],
  157. 5 =&gt; [[255, 202, 144, 106], [154, 122, 87, 64], [106, 84, 60, 44], [65, 52, 37, 27]],
  158. 6 =&gt; [[322, 255, 178, 139], [195, 154, 108, 84], [134, 106, 74, 58], [82, 65, 45, 36]],
  159. 7 =&gt; [[370, 293, 207, 154], [224, 178, 125, 93], [154, 122, 86, 64], [95, 75, 53, 39]],
  160. 8 =&gt; [[461, 365, 259, 202], [279, 221, 157, 122], [192, 152, 108, 84], [118, 93, 66, 52]],
  161. 9 =&gt; [[552, 432, 312, 235], [335, 262, 189, 143], [230, 180, 130, 98], [141, 111, 80, 60]],
  162. 10 =&gt; [[652, 513, 364, 288], [395, 311, 221, 174], [271, 213, 151, 119], [167, 131, 93, 74]],
  163. 11 =&gt; [[772, 604, 427, 331], [468, 366, 259, 200], [321, 251, 177, 137], [198, 155, 109, 85]],
  164. 12 =&gt; [[883, 691, 489, 374], [535, 419, 296, 227], [367, 287, 203, 155], [226, 177, 125, 96]],
  165. 13 =&gt; [[1022, 796, 580, 427], [619, 483, 352, 259], [425, 331, 241, 177], [262, 204, 149, 109]],
  166. 14 =&gt; [[1101, 871, 621, 468], [667, 528, 376, 283], [458, 362, 258, 194], [282, 223, 159, 120]],
  167. 15 =&gt; [[1250, 991, 703, 530], [758, 600, 426, 321], [520, 412, 292, 220], [320, 254, 180, 136]],
  168. 16 =&gt; [[1408, 1082, 775, 602], [854, 656, 470, 365], [586, 450, 322, 250], [361, 277, 198, 154]],
  169. 17 =&gt; [[1548, 1212, 876, 674], [938, 734, 531, 408], [644, 504, 364, 280], [397, 310, 224, 173]],
  170. 18 =&gt; [[1725, 1346, 948, 746], [1046, 816, 574, 452], [718, 560, 394, 310], [442, 345, 243, 191]],
  171. 19 =&gt; [[1903, 1500, 1063, 813], [1153, 909, 644, 493], [792, 624, 442, 338], [488, 384, 272, 208]],
  172. 20 =&gt; [[2061, 1600, 1159, 919], [1249, 970, 702, 557], [858, 666, 482, 382], [528, 410, 297, 235]],
  173. 21 =&gt; [[2232, 1708, 1224, 969], [1352, 1035, 742, 587], [929, 711, 509, 403], [572, 438, 314, 248]],
  174. 22 =&gt; [[2409, 1872, 1358, 1056], [1460, 1134, 823, 640], [1003, 779, 565, 439], [618, 480, 348, 270]],
  175. 23 =&gt; [[2620, 2059, 1468, 1108], [1588, 1248, 890, 672], [1091, 857, 611, 461], [672, 528, 376, 284]],
  176. 24 =&gt; [[2812, 2188, 1588, 1228], [1704, 1326, 963, 744], [1171, 911, 661, 511], [721, 561, 407, 315]],
  177. 25 =&gt; [[3057, 2395, 1718, 1286], [1853, 1451, 1041, 779], [1273, 997, 715, 535], [784, 614, 440, 330]],
  178. 26 =&gt; [[3283, 2544, 1804, 1425], [1990, 1542, 1094, 864], [1367, 1059, 751, 593], [842, 652, 462, 365]],
  179. 27 =&gt; [[3517, 2701, 1933, 1501], [2132, 1637, 1172, 910], [1465, 1125, 805, 625], [902, 692, 496, 385]],
  180. 28 =&gt; [[3669, 2857, 2085, 1581], [2223, 1732, 1263, 958], [1528, 1190, 868, 658], [940, 732, 534, 405]],
  181. 29 =&gt; [[3909, 3035, 2181, 1677], [2369, 1839, 1322, 1016], [1628, 1264, 908, 698], [1002, 778, 559, 430]],
  182. 30 =&gt; [[4158, 3289, 2358, 1782], [2520, 1994, 1429, 1080], [1732, 1370, 982, 742], [1066, 843, 604, 457]],
  183. 31 =&gt; [[4417, 3486, 2473, 1897], [2677, 2113, 1499, 1150], [1840, 1452, 1030, 790], [1132, 894, 634, 486]],
  184. 32 =&gt; [[4686, 3693, 2670, 2022], [2840, 2238, 1618, 1226], [1952, 1538, 1112, 842], [1201, 947, 684, 518]],
  185. 33 =&gt; [[4965, 3909, 2805, 2157], [3009, 2369, 1700, 1307], [2068, 1628, 1168, 898], [1273, 1002, 719, 553]],
  186. 34 =&gt; [[5253, 4134, 2949, 2301], [3183, 2506, 1787, 1394], [2188, 1722, 1228, 958], [1347, 1060, 756, 590]],
  187. 35 =&gt; [[5529, 4343, 3081, 2361], [3351, 2632, 1867, 1431], [2303, 1809, 1283, 983], [1417, 1113, 790, 605]],
  188. 36 =&gt; [[5836, 4588, 3244, 2524], [3537, 2780, 1966, 1530], [2431, 1911, 1351, 1051], [1496, 1176, 832, 647]],
  189. 37 =&gt; [[6153, 4775, 3417, 2625], [3729, 2894, 2071, 1591], [2563, 1989, 1423, 1093], [1577, 1224, 876, 673]],
  190. 38 =&gt; [[6479, 5039, 3599, 2735], [3927, 3054, 2181, 1658], [2699, 2099, 1499, 1139], [1661, 1292, 923, 701]],
  191. 39 =&gt; [[6743, 5313, 3791, 2927], [4087, 3220, 2298, 1774], [2809, 2213, 1579, 1219], [1729, 1362, 972, 750]],
  192. 40 =&gt; [[7089, 5596, 3993, 3057], [4296, 3391, 2420, 1852], [2953, 2331, 1663, 1273], [1817, 1435, 1024, 784]],
  193. ] </span>
  194. </dt>
  195. <dd>ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</dd>
  196. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  197. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_samplesDir">samplesDir</a>
  198. <span>
  199. &nbsp;= __DIR__ . &#039;/samples/&#039; </span>
  200. </dt>
  201. </dl>
  202. <h4 id="toc-properties">
  203. Properties
  204. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  205. </h4>
  206. <dl class="phpdocumentor-table-of-contents">
  207. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  208. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options</a>
  209. <span>
  210. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  211. </dt>
  212. </dl>
  213. <h4 id="toc-methods">
  214. Methods
  215. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  216. </h4>
  217. <dl class="phpdocumentor-table-of-contents">
  218. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  219. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a>
  220. <span>
  221. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  222. </dt>
  223. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  224. <a class="" href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a>
  225. <span>
  226. &nbsp;: int </span>
  227. </dt>
  228. <dd>the maximum character count for the given $mode and $eccLevel</dd>
  229. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  230. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a>
  231. <span>
  232. &nbsp;: array&lt;string|int, mixed&gt; </span>
  233. </dt>
  234. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  235. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a>
  236. <span>
  237. &nbsp;: void </span>
  238. </dt>
  239. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  240. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a>
  241. <span>
  242. &nbsp;: void </span>
  243. </dt>
  244. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  245. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode">testReaderMultiMode()</a>
  246. <span>
  247. &nbsp;: void </span>
  248. </dt>
  249. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  250. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a>
  251. <span>
  252. &nbsp;: void </span>
  253. </dt>
  254. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  255. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a>
  256. <span>
  257. &nbsp;: array&lt;string|int, mixed&gt; </span>
  258. </dt>
  259. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  260. <a class="" href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a>
  261. <span>
  262. &nbsp;: void </span>
  263. </dt>
  264. <dd>Matrix debugging console output</dd>
  265. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  266. <a class="" href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_dm">dm()</a>
  267. <span>
  268. &nbsp;: void </span>
  269. </dt>
  270. <dd>debugging shortcut - limit to a single version when using with matrixProvider</dd>
  271. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  272. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_getLuminanceSourceFromFile">getLuminanceSourceFromFile()</a>
  273. <span>
  274. &nbsp;: <a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a> </span>
  275. </dt>
  276. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  277. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a>
  278. <span>
  279. &nbsp;: void </span>
  280. </dt>
  281. </dl>
  282. <section class="phpdocumentor-constants">
  283. <h3 class="phpdocumentor-elements__header" id="constants">
  284. Constants
  285. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  286. </h3>
  287. <article class="phpdocumentor-element -constant -protected ">
  288. <h4 class="phpdocumentor-element__name" id="constant_loremipsum">
  289. loremipsum
  290. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum" class="headerlink"><i class="fas fa-link"></i></a>
  291. </h4>
  292. <aside class="phpdocumentor-element-found-in">
  293. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  294. :
  295. <span class="phpdocumentor-element-found-in__line">35</span>
  296. </aside>
  297. <code class="phpdocumentor-signature phpdocumentor-code ">
  298. <span class="phpdocumentor-signature__visibility">protected</span>
  299. <span class="phpdocumentor-signature__type">mixed</span>
  300. <span class="phpdocumentor-signature__name">loremipsum</span>
  301. = <span class="phpdocumentor-signature__default-value">&#039;Just let this happen. We just let this flow right out of our minds. &#039; . &#039;Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, &#039; . &#039;I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. &#039; . &#039;You have to make almighty decisions when you\&#039;re the creator. I guess that would be considered a UFO. &#039; . &#039;A big cotton ball in the sky. I\&#039;m gonna add just a tiny little amount of Prussian Blue. &#039; . &#039;They say everything looks better with odd numbers of things. But sometimes I put even numbers—just &#039; . &#039;to upset the critics. We\&#039;ll lay all these little funky little things in there. &#039;</span>
  302. </code>
  303. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  304. Tags
  305. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum#tags" class="headerlink"><i class="fas fa-link"></i></a>
  306. </h5>
  307. <dl class="phpdocumentor-tag-list">
  308. <dt class="phpdocumentor-tag-list__entry">
  309. <span class="phpdocumentor-tag__name">see</span>
  310. </dt>
  311. <dd class="phpdocumentor-tag-list__definition">
  312. <span class="phpdocumentor-tag-link"><a href="https://www.bobrosslipsum.com/">https://www.bobrosslipsum.com/</a></span>
  313. </dd>
  314. </dl>
  315. </article>
  316. <article class="phpdocumentor-element -constant -protected ">
  317. <h4 class="phpdocumentor-element__name" id="constant_MAX_LENGTH">
  318. MAX_LENGTH
  319. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH" class="headerlink"><i class="fas fa-link"></i></a>
  320. </h4>
  321. <aside class="phpdocumentor-element-found-in">
  322. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMaxLengthTrait.php"><a href="files/tests-qrmaxlengthtrait.html"><abbr title="tests/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  323. :
  324. <span class="phpdocumentor-element-found-in__line">29</span>
  325. </aside>
  326. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</p>
  327. <code class="phpdocumentor-signature phpdocumentor-code ">
  328. <span class="phpdocumentor-signature__visibility">protected</span>
  329. <span class="phpdocumentor-signature__type">array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt;</span>
  330. <span class="phpdocumentor-signature__name">MAX_LENGTH</span>
  331. = <span class="phpdocumentor-signature__default-value">[
  332. // v =&gt; [NUMERIC =&gt; [L, M, Q, H ], ALPHANUM =&gt; [L, M, Q, H], BINARY =&gt; [L, M, Q, H ], KANJI =&gt; [L, M, Q, H ]]
  333. 1 =&gt; [[41, 34, 27, 17], [25, 20, 16, 10], [17, 14, 11, 7], [10, 8, 7, 4]],
  334. 2 =&gt; [[77, 63, 48, 34], [47, 38, 29, 20], [32, 26, 20, 14], [20, 16, 12, 8]],
  335. 3 =&gt; [[127, 101, 77, 58], [77, 61, 47, 35], [53, 42, 32, 24], [32, 26, 20, 15]],
  336. 4 =&gt; [[187, 149, 111, 82], [114, 90, 67, 50], [78, 62, 46, 34], [48, 38, 28, 21]],
  337. 5 =&gt; [[255, 202, 144, 106], [154, 122, 87, 64], [106, 84, 60, 44], [65, 52, 37, 27]],
  338. 6 =&gt; [[322, 255, 178, 139], [195, 154, 108, 84], [134, 106, 74, 58], [82, 65, 45, 36]],
  339. 7 =&gt; [[370, 293, 207, 154], [224, 178, 125, 93], [154, 122, 86, 64], [95, 75, 53, 39]],
  340. 8 =&gt; [[461, 365, 259, 202], [279, 221, 157, 122], [192, 152, 108, 84], [118, 93, 66, 52]],
  341. 9 =&gt; [[552, 432, 312, 235], [335, 262, 189, 143], [230, 180, 130, 98], [141, 111, 80, 60]],
  342. 10 =&gt; [[652, 513, 364, 288], [395, 311, 221, 174], [271, 213, 151, 119], [167, 131, 93, 74]],
  343. 11 =&gt; [[772, 604, 427, 331], [468, 366, 259, 200], [321, 251, 177, 137], [198, 155, 109, 85]],
  344. 12 =&gt; [[883, 691, 489, 374], [535, 419, 296, 227], [367, 287, 203, 155], [226, 177, 125, 96]],
  345. 13 =&gt; [[1022, 796, 580, 427], [619, 483, 352, 259], [425, 331, 241, 177], [262, 204, 149, 109]],
  346. 14 =&gt; [[1101, 871, 621, 468], [667, 528, 376, 283], [458, 362, 258, 194], [282, 223, 159, 120]],
  347. 15 =&gt; [[1250, 991, 703, 530], [758, 600, 426, 321], [520, 412, 292, 220], [320, 254, 180, 136]],
  348. 16 =&gt; [[1408, 1082, 775, 602], [854, 656, 470, 365], [586, 450, 322, 250], [361, 277, 198, 154]],
  349. 17 =&gt; [[1548, 1212, 876, 674], [938, 734, 531, 408], [644, 504, 364, 280], [397, 310, 224, 173]],
  350. 18 =&gt; [[1725, 1346, 948, 746], [1046, 816, 574, 452], [718, 560, 394, 310], [442, 345, 243, 191]],
  351. 19 =&gt; [[1903, 1500, 1063, 813], [1153, 909, 644, 493], [792, 624, 442, 338], [488, 384, 272, 208]],
  352. 20 =&gt; [[2061, 1600, 1159, 919], [1249, 970, 702, 557], [858, 666, 482, 382], [528, 410, 297, 235]],
  353. 21 =&gt; [[2232, 1708, 1224, 969], [1352, 1035, 742, 587], [929, 711, 509, 403], [572, 438, 314, 248]],
  354. 22 =&gt; [[2409, 1872, 1358, 1056], [1460, 1134, 823, 640], [1003, 779, 565, 439], [618, 480, 348, 270]],
  355. 23 =&gt; [[2620, 2059, 1468, 1108], [1588, 1248, 890, 672], [1091, 857, 611, 461], [672, 528, 376, 284]],
  356. 24 =&gt; [[2812, 2188, 1588, 1228], [1704, 1326, 963, 744], [1171, 911, 661, 511], [721, 561, 407, 315]],
  357. 25 =&gt; [[3057, 2395, 1718, 1286], [1853, 1451, 1041, 779], [1273, 997, 715, 535], [784, 614, 440, 330]],
  358. 26 =&gt; [[3283, 2544, 1804, 1425], [1990, 1542, 1094, 864], [1367, 1059, 751, 593], [842, 652, 462, 365]],
  359. 27 =&gt; [[3517, 2701, 1933, 1501], [2132, 1637, 1172, 910], [1465, 1125, 805, 625], [902, 692, 496, 385]],
  360. 28 =&gt; [[3669, 2857, 2085, 1581], [2223, 1732, 1263, 958], [1528, 1190, 868, 658], [940, 732, 534, 405]],
  361. 29 =&gt; [[3909, 3035, 2181, 1677], [2369, 1839, 1322, 1016], [1628, 1264, 908, 698], [1002, 778, 559, 430]],
  362. 30 =&gt; [[4158, 3289, 2358, 1782], [2520, 1994, 1429, 1080], [1732, 1370, 982, 742], [1066, 843, 604, 457]],
  363. 31 =&gt; [[4417, 3486, 2473, 1897], [2677, 2113, 1499, 1150], [1840, 1452, 1030, 790], [1132, 894, 634, 486]],
  364. 32 =&gt; [[4686, 3693, 2670, 2022], [2840, 2238, 1618, 1226], [1952, 1538, 1112, 842], [1201, 947, 684, 518]],
  365. 33 =&gt; [[4965, 3909, 2805, 2157], [3009, 2369, 1700, 1307], [2068, 1628, 1168, 898], [1273, 1002, 719, 553]],
  366. 34 =&gt; [[5253, 4134, 2949, 2301], [3183, 2506, 1787, 1394], [2188, 1722, 1228, 958], [1347, 1060, 756, 590]],
  367. 35 =&gt; [[5529, 4343, 3081, 2361], [3351, 2632, 1867, 1431], [2303, 1809, 1283, 983], [1417, 1113, 790, 605]],
  368. 36 =&gt; [[5836, 4588, 3244, 2524], [3537, 2780, 1966, 1530], [2431, 1911, 1351, 1051], [1496, 1176, 832, 647]],
  369. 37 =&gt; [[6153, 4775, 3417, 2625], [3729, 2894, 2071, 1591], [2563, 1989, 1423, 1093], [1577, 1224, 876, 673]],
  370. 38 =&gt; [[6479, 5039, 3599, 2735], [3927, 3054, 2181, 1658], [2699, 2099, 1499, 1139], [1661, 1292, 923, 701]],
  371. 39 =&gt; [[6743, 5313, 3791, 2927], [4087, 3220, 2298, 1774], [2809, 2213, 1579, 1219], [1729, 1362, 972, 750]],
  372. 40 =&gt; [[7089, 5596, 3993, 3057], [4296, 3391, 2420, 1852], [2953, 2331, 1663, 1273], [1817, 1435, 1024, 784]],
  373. ]</span>
  374. </code>
  375. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  376. Tags
  377. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH#tags" class="headerlink"><i class="fas fa-link"></i></a>
  378. </h5>
  379. <dl class="phpdocumentor-tag-list">
  380. <dt class="phpdocumentor-tag-list__entry">
  381. <span class="phpdocumentor-tag__name">see</span>
  382. </dt>
  383. <dd class="phpdocumentor-tag-list__definition">
  384. <span class="phpdocumentor-tag-link"><a href="http://www.qrcode.com/en/about/version.html">http://www.qrcode.com/en/about/version.html</a></span>
  385. </dd>
  386. </dl>
  387. </article>
  388. <article class="phpdocumentor-element -constant -protected ">
  389. <h4 class="phpdocumentor-element__name" id="constant_samplesDir">
  390. samplesDir
  391. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_samplesDir" class="headerlink"><i class="fas fa-link"></i></a>
  392. </h4>
  393. <aside class="phpdocumentor-element-found-in">
  394. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  395. :
  396. <span class="phpdocumentor-element-found-in__line">43</span>
  397. </aside>
  398. <code class="phpdocumentor-signature phpdocumentor-code ">
  399. <span class="phpdocumentor-signature__visibility">protected</span>
  400. <span class="phpdocumentor-signature__type">mixed</span>
  401. <span class="phpdocumentor-signature__name">samplesDir</span>
  402. = <span class="phpdocumentor-signature__default-value">__DIR__ . &#039;/samples/&#039;</span>
  403. </code>
  404. </article>
  405. </section>
  406. <section class="phpdocumentor-properties">
  407. <h3 class="phpdocumentor-elements__header" id="properties">
  408. Properties
  409. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  410. </h3>
  411. <article
  412. class="
  413. phpdocumentor-element
  414. -property
  415. -protected
  416. "
  417. >
  418. <h4 class="phpdocumentor-element__name" id="property_options">
  419. $options
  420. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  421. <span class="phpdocumentor-element__modifiers">
  422. </span>
  423. </h4>
  424. <aside class="phpdocumentor-element-found-in">
  425. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  426. :
  427. <span class="phpdocumentor-element-found-in__line">45</span>
  428. </aside>
  429. <code class="phpdocumentor-code phpdocumentor-signature ">
  430. <span class="phpdocumentor-signature__visibility">protected</span>
  431. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  432. <span class="phpdocumentor-signature__name">$options</span>
  433. </code>
  434. </article>
  435. </section>
  436. <section class="phpdocumentor-methods">
  437. <h3 class="phpdocumentor-elements__header" id="methods">
  438. Methods
  439. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  440. </h3>
  441. <article
  442. class="phpdocumentor-element
  443. -method
  444. -public
  445. -static "
  446. >
  447. <h4 class="phpdocumentor-element__name" id="method_dataTestProvider">
  448. dataTestProvider()
  449. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider" class="headerlink"><i class="fas fa-link"></i></a>
  450. </h4>
  451. <aside class="phpdocumentor-element-found-in">
  452. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  453. :
  454. <span class="phpdocumentor-element-found-in__line">133</span>
  455. </aside>
  456. <code class="phpdocumentor-code phpdocumentor-signature ">
  457. <span class="phpdocumentor-signature__visibility">public</span>
  458. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">dataTestProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  459. <div class="phpdocumentor-label-line">
  460. </div>
  461. <section>
  462. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  463. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  464. </section>
  465. </article>
  466. <article
  467. class="phpdocumentor-element
  468. -method
  469. -public
  470. -static "
  471. >
  472. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  473. getMaxLengthForMode()
  474. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  475. </h4>
  476. <aside class="phpdocumentor-element-found-in">
  477. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMaxLengthTrait.php"><a href="files/tests-qrmaxlengthtrait.html"><abbr title="tests/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  478. :
  479. <span class="phpdocumentor-element-found-in__line">80</span>
  480. </aside>
  481. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  482. <code class="phpdocumentor-code phpdocumentor-signature ">
  483. <span class="phpdocumentor-signature__visibility">public</span>
  484. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getMaxLengthForMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mode</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  485. <div class="phpdocumentor-label-line">
  486. </div>
  487. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  488. <dl class="phpdocumentor-argument-list">
  489. <dt class="phpdocumentor-argument-list__entry">
  490. <span class="phpdocumentor-signature__argument__name">$mode</span>
  491. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  492. </dt>
  493. <dd class="phpdocumentor-argument-list__definition">
  494. </dd>
  495. <dt class="phpdocumentor-argument-list__entry">
  496. <span class="phpdocumentor-signature__argument__name">$version</span>
  497. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  498. </dt>
  499. <dd class="phpdocumentor-argument-list__definition">
  500. </dd>
  501. <dt class="phpdocumentor-argument-list__entry">
  502. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  503. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  504. </dt>
  505. <dd class="phpdocumentor-argument-list__definition">
  506. </dd>
  507. </dl>
  508. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  509. Tags
  510. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  511. </h5>
  512. <dl class="phpdocumentor-tag-list">
  513. <dt class="phpdocumentor-tag-list__entry">
  514. <span class="phpdocumentor-tag__name">throws</span>
  515. </dt>
  516. <dd class="phpdocumentor-tag-list__definition">
  517. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  518. </dd>
  519. <dt class="phpdocumentor-tag-list__entry">
  520. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  521. </dt>
  522. <dd class="phpdocumentor-tag-list__definition">
  523. </dd>
  524. </dl>
  525. <section>
  526. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  527. <span class="phpdocumentor-signature__response_type">int</span>
  528. </section>
  529. </article>
  530. <article
  531. class="phpdocumentor-element
  532. -method
  533. -public
  534. -static "
  535. >
  536. <h4 class="phpdocumentor-element__name" id="method_qrCodeProvider">
  537. qrCodeProvider()
  538. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  539. </h4>
  540. <aside class="phpdocumentor-element-found-in">
  541. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  542. :
  543. <span class="phpdocumentor-element-found-in__line">55</span>
  544. </aside>
  545. <code class="phpdocumentor-code phpdocumentor-signature ">
  546. <span class="phpdocumentor-signature__visibility">public</span>
  547. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">qrCodeProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  548. <div class="phpdocumentor-label-line">
  549. </div>
  550. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  551. Tags
  552. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  553. </h5>
  554. <dl class="phpdocumentor-tag-list">
  555. <dt class="phpdocumentor-tag-list__entry">
  556. <span class="phpdocumentor-tag__name">phpstan-return</span>
  557. </dt>
  558. <dd class="phpdocumentor-tag-list__definition">
  559. <section class="phpdocumentor-description"><p>array&lt;string, array{0: string, 1: string, 2: bool}&gt;</p>
  560. </section>
  561. </dd>
  562. </dl>
  563. <section>
  564. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  565. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  566. </section>
  567. </article>
  568. <article
  569. class="phpdocumentor-element
  570. -method
  571. -public
  572. "
  573. >
  574. <h4 class="phpdocumentor-element__name" id="method_testReadData">
  575. testReadData()
  576. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData" class="headerlink"><i class="fas fa-link"></i></a>
  577. </h4>
  578. <aside class="phpdocumentor-element-found-in">
  579. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  580. :
  581. <span class="phpdocumentor-element-found-in__line">157</span>
  582. </aside>
  583. <code class="phpdocumentor-code phpdocumentor-signature ">
  584. <span class="phpdocumentor-signature__visibility">public</span>
  585. <span class="phpdocumentor-signature__name">testReadData</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ecc</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  586. <div class="phpdocumentor-label-line">
  587. </div>
  588. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  589. <dl class="phpdocumentor-argument-list">
  590. <dt class="phpdocumentor-argument-list__entry">
  591. <span class="phpdocumentor-signature__argument__name">$version</span>
  592. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  593. </dt>
  594. <dd class="phpdocumentor-argument-list__definition">
  595. </dd>
  596. <dt class="phpdocumentor-argument-list__entry">
  597. <span class="phpdocumentor-signature__argument__name">$ecc</span>
  598. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  599. </dt>
  600. <dd class="phpdocumentor-argument-list__definition">
  601. </dd>
  602. <dt class="phpdocumentor-argument-list__entry">
  603. <span class="phpdocumentor-signature__argument__name">$expected</span>
  604. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  605. </dt>
  606. <dd class="phpdocumentor-argument-list__definition">
  607. </dd>
  608. </dl>
  609. <section class="phpdocumentor-attributes">
  610. <h5 class="phpdocumentor-elements__header" id="attributes">
  611. Attributes <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  612. </h5>
  613. <dl class="phpdocumentor-argument-list">
  614. <dt class="phpdocumentor-argument-list__entry">
  615. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  616. </dt>
  617. <dd class="phpdocumentor-argument-list__entry">
  618. &#039;dataTestProvider&#039;
  619. </dd>
  620. </dl>
  621. <dl class="phpdocumentor-argument-list">
  622. <dt class="phpdocumentor-argument-list__entry">
  623. #[<abbr title="\PHPUnit\Framework\Attributes\Group">Group</abbr>]
  624. </dt>
  625. <dd class="phpdocumentor-argument-list__entry">
  626. &#039;slow&#039;
  627. </dd>
  628. </dl>
  629. </section>
  630. </article>
  631. <article
  632. class="phpdocumentor-element
  633. -method
  634. -public
  635. "
  636. >
  637. <h4 class="phpdocumentor-element__name" id="method_testReader">
  638. testReader()
  639. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader" class="headerlink"><i class="fas fa-link"></i></a>
  640. </h4>
  641. <aside class="phpdocumentor-element-found-in">
  642. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  643. :
  644. <span class="phpdocumentor-element-found-in__line">87</span>
  645. </aside>
  646. <code class="phpdocumentor-code phpdocumentor-signature ">
  647. <span class="phpdocumentor-signature__visibility">public</span>
  648. <span class="phpdocumentor-signature__name">testReader</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$img</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$grayscale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  649. <div class="phpdocumentor-label-line">
  650. </div>
  651. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  652. <dl class="phpdocumentor-argument-list">
  653. <dt class="phpdocumentor-argument-list__entry">
  654. <span class="phpdocumentor-signature__argument__name">$img</span>
  655. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  656. </dt>
  657. <dd class="phpdocumentor-argument-list__definition">
  658. </dd>
  659. <dt class="phpdocumentor-argument-list__entry">
  660. <span class="phpdocumentor-signature__argument__name">$expected</span>
  661. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  662. </dt>
  663. <dd class="phpdocumentor-argument-list__definition">
  664. </dd>
  665. <dt class="phpdocumentor-argument-list__entry">
  666. <span class="phpdocumentor-signature__argument__name">$grayscale</span>
  667. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  668. </dt>
  669. <dd class="phpdocumentor-argument-list__definition">
  670. </dd>
  671. </dl>
  672. <section class="phpdocumentor-attributes">
  673. <h5 class="phpdocumentor-elements__header" id="attributes">
  674. Attributes <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  675. </h5>
  676. <dl class="phpdocumentor-argument-list">
  677. <dt class="phpdocumentor-argument-list__entry">
  678. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  679. </dt>
  680. <dd class="phpdocumentor-argument-list__entry">
  681. &#039;qrCodeProvider&#039;
  682. </dd>
  683. </dl>
  684. <dl class="phpdocumentor-argument-list">
  685. <dt class="phpdocumentor-argument-list__entry">
  686. #[<abbr title="\PHPUnit\Framework\Attributes\Group">Group</abbr>]
  687. </dt>
  688. <dd class="phpdocumentor-argument-list__entry">
  689. &#039;slow&#039;
  690. </dd>
  691. </dl>
  692. </section>
  693. </article>
  694. <article
  695. class="phpdocumentor-element
  696. -method
  697. -public
  698. "
  699. >
  700. <h4 class="phpdocumentor-element__name" id="method_testReaderMultiMode">
  701. testReaderMultiMode()
  702. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode" class="headerlink"><i class="fas fa-link"></i></a>
  703. </h4>
  704. <aside class="phpdocumentor-element-found-in">
  705. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  706. :
  707. <span class="phpdocumentor-element-found-in__line">110</span>
  708. </aside>
  709. <code class="phpdocumentor-code phpdocumentor-signature ">
  710. <span class="phpdocumentor-signature__visibility">public</span>
  711. <span class="phpdocumentor-signature__name">testReaderMultiMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  712. <div class="phpdocumentor-label-line">
  713. </div>
  714. </article>
  715. <article
  716. class="phpdocumentor-element
  717. -method
  718. -public
  719. "
  720. >
  721. <h4 class="phpdocumentor-element__name" id="method_testReadVectorFormats">
  722. testReadVectorFormats()
  723. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats" class="headerlink"><i class="fas fa-link"></i></a>
  724. </h4>
  725. <aside class="phpdocumentor-element-found-in">
  726. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  727. :
  728. <span class="phpdocumentor-element-found-in__line">58</span>
  729. </aside>
  730. <code class="phpdocumentor-code phpdocumentor-signature ">
  731. <span class="phpdocumentor-signature__visibility">public</span>
  732. <span class="phpdocumentor-signature__name">testReadVectorFormats</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$img</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  733. <div class="phpdocumentor-label-line">
  734. </div>
  735. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  736. <dl class="phpdocumentor-argument-list">
  737. <dt class="phpdocumentor-argument-list__entry">
  738. <span class="phpdocumentor-signature__argument__name">$img</span>
  739. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  740. </dt>
  741. <dd class="phpdocumentor-argument-list__definition">
  742. </dd>
  743. <dt class="phpdocumentor-argument-list__entry">
  744. <span class="phpdocumentor-signature__argument__name">$expected</span>
  745. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  746. </dt>
  747. <dd class="phpdocumentor-argument-list__definition">
  748. </dd>
  749. </dl>
  750. <section class="phpdocumentor-attributes">
  751. <h5 class="phpdocumentor-elements__header" id="attributes">
  752. Attributes <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  753. </h5>
  754. <dl class="phpdocumentor-argument-list">
  755. <dt class="phpdocumentor-argument-list__entry">
  756. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  757. </dt>
  758. <dd class="phpdocumentor-argument-list__entry">
  759. &#039;vectorQRCodeProvider&#039;
  760. </dd>
  761. </dl>
  762. </section>
  763. </article>
  764. <article
  765. class="phpdocumentor-element
  766. -method
  767. -public
  768. -static "
  769. >
  770. <h4 class="phpdocumentor-element__name" id="method_vectorQRCodeProvider">
  771. vectorQRCodeProvider()
  772. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  773. </h4>
  774. <aside class="phpdocumentor-element-found-in">
  775. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  776. :
  777. <span class="phpdocumentor-element-found-in__line">48</span>
  778. </aside>
  779. <code class="phpdocumentor-code phpdocumentor-signature ">
  780. <span class="phpdocumentor-signature__visibility">public</span>
  781. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">vectorQRCodeProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  782. <div class="phpdocumentor-label-line">
  783. </div>
  784. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  785. Tags
  786. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  787. </h5>
  788. <dl class="phpdocumentor-tag-list">
  789. <dt class="phpdocumentor-tag-list__entry">
  790. <span class="phpdocumentor-tag__name">phpstan-return</span>
  791. </dt>
  792. <dd class="phpdocumentor-tag-list__definition">
  793. <section class="phpdocumentor-description"><p>array&lt;string, array{0: string, 1: string}&gt;</p>
  794. </section>
  795. </dd>
  796. </dl>
  797. <section>
  798. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  799. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  800. </section>
  801. </article>
  802. <article
  803. class="phpdocumentor-element
  804. -method
  805. -protected
  806. "
  807. >
  808. <h4 class="phpdocumentor-element__name" id="method_debugMatrix">
  809. debugMatrix()
  810. <a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_debugMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  811. </h4>
  812. <aside class="phpdocumentor-element-found-in">
  813. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMatrixDebugTrait.php"><a href="files/tests-qrmatrixdebugtrait.html"><abbr title="tests/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
  814. :
  815. <span class="phpdocumentor-element-found-in__line">27</span>
  816. </aside>
  817. <p class="phpdocumentor-summary">Matrix debugging console output</p>
  818. <code class="phpdocumentor-code phpdocumentor-signature ">
  819. <span class="phpdocumentor-signature__visibility">protected</span>
  820. <span class="phpdocumentor-signature__name">debugMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-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>
  821. <div class="phpdocumentor-label-line">
  822. </div>
  823. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  824. <dl class="phpdocumentor-argument-list">
  825. <dt class="phpdocumentor-argument-list__entry">
  826. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  827. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  828. </dt>
  829. <dd class="phpdocumentor-argument-list__definition">
  830. </dd>
  831. </dl>
  832. </article>
  833. <article
  834. class="phpdocumentor-element
  835. -method
  836. -protected
  837. "
  838. >
  839. <h4 class="phpdocumentor-element__name" id="method_dm">
  840. dm()
  841. <a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_dm" class="headerlink"><i class="fas fa-link"></i></a>
  842. </h4>
  843. <aside class="phpdocumentor-element-found-in">
  844. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMatrixDebugTrait.php"><a href="files/tests-qrmatrixdebugtrait.html"><abbr title="tests/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
  845. :
  846. <span class="phpdocumentor-element-found-in__line">84</span>
  847. </aside>
  848. <p class="phpdocumentor-summary">debugging shortcut - limit to a single version when using with matrixProvider</p>
  849. <code class="phpdocumentor-code phpdocumentor-signature ">
  850. <span class="phpdocumentor-signature__visibility">protected</span>
  851. <span class="phpdocumentor-signature__name">dm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-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>
  852. <div class="phpdocumentor-label-line">
  853. </div>
  854. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  855. <dl class="phpdocumentor-argument-list">
  856. <dt class="phpdocumentor-argument-list__entry">
  857. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  858. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  859. </dt>
  860. <dd class="phpdocumentor-argument-list__definition">
  861. </dd>
  862. </dl>
  863. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  864. Tags
  865. <a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_dm#tags" class="headerlink"><i class="fas fa-link"></i></a>
  866. </h5>
  867. <dl class="phpdocumentor-tag-list">
  868. <dt class="phpdocumentor-tag-list__entry">
  869. <span class="phpdocumentor-tag__name">see</span>
  870. </dt>
  871. <dd class="phpdocumentor-tag-list__definition">
  872. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCodeTest\QRMatrixTest::matrixProvider()">QRMatrixTest::matrixProvider()</abbr></span>
  873. </dd>
  874. </dl>
  875. </article>
  876. <article
  877. class="phpdocumentor-element
  878. -method
  879. -protected
  880. "
  881. >
  882. <h4 class="phpdocumentor-element__name" id="method_getLuminanceSourceFromFile">
  883. getLuminanceSourceFromFile()
  884. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_getLuminanceSourceFromFile" class="headerlink"><i class="fas fa-link"></i></a>
  885. </h4>
  886. <aside class="phpdocumentor-element-found-in">
  887. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  888. :
  889. <span class="phpdocumentor-element-found-in__line">38</span>
  890. </aside>
  891. <code class="phpdocumentor-code phpdocumentor-signature ">
  892. <span class="phpdocumentor-signature__visibility">protected</span>
  893. <span class="phpdocumentor-signature__name">getLuminanceSourceFromFile</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$file</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a></span></code>
  894. <div class="phpdocumentor-label-line">
  895. </div>
  896. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  897. <dl class="phpdocumentor-argument-list">
  898. <dt class="phpdocumentor-argument-list__entry">
  899. <span class="phpdocumentor-signature__argument__name">$file</span>
  900. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  901. </dt>
  902. <dd class="phpdocumentor-argument-list__definition">
  903. </dd>
  904. <dt class="phpdocumentor-argument-list__entry">
  905. <span class="phpdocumentor-signature__argument__name">$options</span>
  906. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  907. </dt>
  908. <dd class="phpdocumentor-argument-list__definition">
  909. </dd>
  910. </dl>
  911. <section>
  912. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  913. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a></span>
  914. </section>
  915. </article>
  916. <article
  917. class="phpdocumentor-element
  918. -method
  919. -protected
  920. "
  921. >
  922. <h4 class="phpdocumentor-element__name" id="method_setUp">
  923. setUp()
  924. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  925. </h4>
  926. <aside class="phpdocumentor-element-found-in">
  927. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  928. :
  929. <span class="phpdocumentor-element-found-in__line">27</span>
  930. </aside>
  931. <code class="phpdocumentor-code phpdocumentor-signature ">
  932. <span class="phpdocumentor-signature__visibility">protected</span>
  933. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  934. <div class="phpdocumentor-label-line">
  935. </div>
  936. </article>
  937. </section>
  938. <div class="phpdocumentor-modal" id="source-view">
  939. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  940. <div class="phpdocumentor-modal-container">
  941. <div class="phpdocumentor-modal-content">
  942. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/QRCodeReaderImagickTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  943. </div>
  944. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  945. </div>
  946. </div>
  947. <script type="text/javascript">
  948. (function () {
  949. function loadExternalCodeSnippet(el, url, line) {
  950. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  951. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  952. const language = 'php';
  953. const code = document.createElement('code');
  954. code.className = 'language-' + language;
  955. pre.textContent = '';
  956. pre.setAttribute('data-line', line)
  957. code.textContent = 'Loading…';
  958. pre.appendChild(code);
  959. var xhr = new XMLHttpRequest();
  960. xhr.open('GET', src, true);
  961. xhr.onreadystatechange = function () {
  962. if (xhr.readyState !== 4) {
  963. return;
  964. }
  965. if (xhr.status < 400 && xhr.responseText) {
  966. code.textContent = xhr.responseText;
  967. Prism.highlightElement(code);
  968. return;
  969. }
  970. if (xhr.status === 404) {
  971. code.textContent = '✖ Error: File could not be found';
  972. return;
  973. }
  974. if (xhr.status >= 400) {
  975. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  976. return;
  977. }
  978. code.textContent = '✖ Error: An unknown error occurred';
  979. };
  980. xhr.send(null);
  981. });
  982. }
  983. const modalButtons = document.querySelectorAll("[data-modal]");
  984. const openedAsLocalFile = window.location.protocol === 'file:';
  985. if (modalButtons.length > 0 && openedAsLocalFile) {
  986. console.warn(
  987. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  988. 'browsers block XHR requests when a page is opened this way'
  989. );
  990. }
  991. modalButtons.forEach(function (trigger) {
  992. if (openedAsLocalFile) {
  993. trigger.setAttribute("hidden", "hidden");
  994. }
  995. trigger.addEventListener("click", function (event) {
  996. event.preventDefault();
  997. const modal = document.getElementById(trigger.dataset.modal);
  998. if (!modal) {
  999. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1000. return;
  1001. }
  1002. modal.classList.add("phpdocumentor-modal__open");
  1003. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1004. const exits = modal.querySelectorAll("[data-exit-button]");
  1005. exits.forEach(function (exit) {
  1006. exit.addEventListener("click", function (event) {
  1007. event.preventDefault();
  1008. modal.classList.remove("phpdocumentor-modal__open");
  1009. });
  1010. });
  1011. });
  1012. });
  1013. })();
  1014. </script>
  1015. </article>
  1016. </section>
  1017. <section class="phpdocumentor-on-this-page__sidebar">
  1018. <section class="phpdocumentor-on-this-page__content">
  1019. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1020. <ul class="phpdocumentor-list -clean">
  1021. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1022. <li>
  1023. <ul class="phpdocumentor-list -clean">
  1024. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-constants">Constants</a></li>
  1025. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-properties">Properties</a></li>
  1026. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-methods">Methods</a></li>
  1027. </ul>
  1028. </li>
  1029. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1030. <li>
  1031. <ul class="phpdocumentor-list -clean">
  1032. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a></li>
  1033. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a></li>
  1034. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_samplesDir">samplesDir</a></li>
  1035. </ul>
  1036. </li>
  1037. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1038. <li>
  1039. <ul class="phpdocumentor-list -clean">
  1040. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options</a></li>
  1041. </ul>
  1042. </li>
  1043. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1044. <li>
  1045. <ul class="phpdocumentor-list -clean">
  1046. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a></li>
  1047. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1048. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a></li>
  1049. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a></li>
  1050. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a></li>
  1051. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode">testReaderMultiMode()</a></li>
  1052. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a></li>
  1053. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a></li>
  1054. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a></li>
  1055. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_dm">dm()</a></li>
  1056. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_getLuminanceSourceFromFile">getLuminanceSourceFromFile()</a></li>
  1057. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a></li>
  1058. </ul>
  1059. </li>
  1060. </ul>
  1061. </section>
  1062. </section>
  1063. </div>
  1064. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1065. <section class="phpdocumentor-search-results__dialog">
  1066. <header class="phpdocumentor-search-results__header">
  1067. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1068. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1069. </header>
  1070. <section class="phpdocumentor-search-results__body">
  1071. <ul class="phpdocumentor-search-results__entries"></ul>
  1072. </section>
  1073. </section>
  1074. </section>
  1075. </div>
  1076. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1077. </main>
  1078. <script>
  1079. cssVars({});
  1080. </script>
  1081. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1082. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1083. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1084. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1085. </body>
  1086. </html>