chillerlan-QRCodeTest-QRCodeReaderImagickTest.html 78 KB

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