chillerlan-QRCodeTest-QRCodeReaderImagickTest.html 75 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434
  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. d=document.getElementsByClassName("line-numbers");
  969. d[0].scrollTop = d[0].children[1].offsetTop;
  970. return;
  971. }
  972. if (xhr.status === 404) {
  973. code.textContent = '✖ Error: File could not be found';
  974. return;
  975. }
  976. if (xhr.status >= 400) {
  977. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  978. return;
  979. }
  980. code.textContent = '✖ Error: An unknown error occurred';
  981. };
  982. xhr.send(null);
  983. });
  984. }
  985. const modalButtons = document.querySelectorAll("[data-modal]");
  986. const openedAsLocalFile = window.location.protocol === 'file:';
  987. if (modalButtons.length > 0 && openedAsLocalFile) {
  988. console.warn(
  989. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  990. 'browsers block XHR requests when a page is opened this way'
  991. );
  992. }
  993. modalButtons.forEach(function (trigger) {
  994. if (openedAsLocalFile) {
  995. trigger.setAttribute("hidden", "hidden");
  996. }
  997. trigger.addEventListener("click", function (event) {
  998. event.preventDefault();
  999. const modal = document.getElementById(trigger.dataset.modal);
  1000. if (!modal) {
  1001. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1002. return;
  1003. }
  1004. modal.classList.add("phpdocumentor-modal__open");
  1005. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1006. const exits = modal.querySelectorAll("[data-exit-button]");
  1007. exits.forEach(function (exit) {
  1008. exit.addEventListener("click", function (event) {
  1009. event.preventDefault();
  1010. modal.classList.remove("phpdocumentor-modal__open");
  1011. });
  1012. });
  1013. });
  1014. });
  1015. })();
  1016. </script>
  1017. </article>
  1018. </section>
  1019. <section class="phpdocumentor-on-this-page__sidebar">
  1020. <section class="phpdocumentor-on-this-page__content">
  1021. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1022. <ul class="phpdocumentor-list -clean">
  1023. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1024. <li>
  1025. <ul class="phpdocumentor-list -clean">
  1026. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-constants">Constants</a></li>
  1027. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-properties">Properties</a></li>
  1028. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-methods">Methods</a></li>
  1029. </ul>
  1030. </li>
  1031. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1032. <li>
  1033. <ul class="phpdocumentor-list -clean">
  1034. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a></li>
  1035. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a></li>
  1036. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_samplesDir">samplesDir</a></li>
  1037. </ul>
  1038. </li>
  1039. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1040. <li>
  1041. <ul class="phpdocumentor-list -clean">
  1042. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options</a></li>
  1043. </ul>
  1044. </li>
  1045. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1046. <li>
  1047. <ul class="phpdocumentor-list -clean">
  1048. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a></li>
  1049. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1050. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a></li>
  1051. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a></li>
  1052. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a></li>
  1053. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode">testReaderMultiMode()</a></li>
  1054. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a></li>
  1055. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a></li>
  1056. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a></li>
  1057. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html#method_dm">dm()</a></li>
  1058. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_getLuminanceSourceFromFile">getLuminanceSourceFromFile()</a></li>
  1059. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a></li>
  1060. </ul>
  1061. </li>
  1062. </ul>
  1063. </section>
  1064. </section>
  1065. </div>
  1066. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1067. <section class="phpdocumentor-search-results__dialog">
  1068. <header class="phpdocumentor-search-results__header">
  1069. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1070. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1071. </header>
  1072. <section class="phpdocumentor-search-results__body">
  1073. <ul class="phpdocumentor-search-results__entries"></ul>
  1074. </section>
  1075. </section>
  1076. </section>
  1077. </div>
  1078. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1079. </main>
  1080. <script>
  1081. cssVars({});
  1082. </script>
  1083. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1084. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1085. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1086. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1087. </body>
  1088. </html>