chillerlan-QRCodeTest-QRCodeReaderImagickTest.html 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  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=Source+Sans+Pro:wght@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/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  88. </ul>
  89. <article class="phpdocumentor-element -class">
  90. <h2 class="phpdocumentor-content__title">
  91. QRCodeReaderImagickTest
  92. <span class="phpdocumentor-element__extends">
  93. extends <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\QRCodeReaderTestAbstract">QRCodeReaderTestAbstract</abbr></a>
  94. </span>
  95. <div class="phpdocumentor-element__package">
  96. in package
  97. <ul class="phpdocumentor-breadcrumbs">
  98. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  99. </ul>
  100. </div>
  101. </h2>
  102. <aside class="phpdocumentor-element-found-in">
  103. <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>
  104. :
  105. <span class="phpdocumentor-element-found-in__line">21</span>
  106. </aside>
  107. <p class="phpdocumentor-summary">Tests the Imagick based reader</p>
  108. <h3 id="toc">
  109. Table of Contents
  110. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  111. </h3>
  112. <dl class="phpdocumentor-table-of-contents">
  113. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  114. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a>
  115. <span>
  116. &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>
  117. </dt>
  118. <dd></dd>
  119. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  120. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#property_FQN">$FQN</a>
  121. <span>
  122. &nbsp;: string </span>
  123. </dt>
  124. <dd></dd>
  125. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  126. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options</a>
  127. <span>
  128. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr> </span>
  129. </dt>
  130. <dd></dd>
  131. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  132. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a>
  133. <span>
  134. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  135. </dt>
  136. <dd></dd>
  137. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  138. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a>
  139. <span>
  140. &nbsp;: array&lt;string|int, mixed&gt; </span>
  141. </dt>
  142. <dd></dd>
  143. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  144. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a>
  145. <span>
  146. &nbsp;: void </span>
  147. </dt>
  148. <dd></dd>
  149. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  150. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a>
  151. <span>
  152. &nbsp;: void </span>
  153. </dt>
  154. <dd></dd>
  155. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  156. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiSegment">testReaderMultiSegment()</a>
  157. <span>
  158. &nbsp;: void </span>
  159. </dt>
  160. <dd></dd>
  161. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  162. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a>
  163. <span>
  164. &nbsp;: void </span>
  165. </dt>
  166. <dd></dd>
  167. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  168. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a>
  169. <span>
  170. &nbsp;: array&lt;string|int, mixed&gt; </span>
  171. </dt>
  172. <dd></dd>
  173. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  174. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a>
  175. <span>
  176. &nbsp;: void </span>
  177. </dt>
  178. <dd></dd>
  179. </dl>
  180. <section class="phpdocumentor-constants">
  181. <h3 class="phpdocumentor-elements__header" id="constants">
  182. Constants
  183. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  184. </h3>
  185. <article class="phpdocumentor-element -constant -protected ">
  186. <h4 class="phpdocumentor-element__name" id="constant_loremipsum">
  187. loremipsum
  188. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum" class="headerlink"><i class="fas fa-link"></i></a>
  189. </h4>
  190. <aside class="phpdocumentor-element-found-in">
  191. <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>
  192. :
  193. <span class="phpdocumentor-element-found-in__line">28</span>
  194. </aside>
  195. <code class="phpdocumentor-signature phpdocumentor-code ">
  196. <span class="phpdocumentor-signature__visibility">protected</span>
  197. <span class="phpdocumentor-signature__type">mixed</span>
  198. <span class="phpdocumentor-signature__name">loremipsum</span>
  199. = <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>
  200. </code>
  201. <section class="phpdocumentor-description"></section>
  202. <section class="phpdocumentor-description"></section>
  203. </article>
  204. </section>
  205. <section class="phpdocumentor-properties">
  206. <h3 class="phpdocumentor-elements__header" id="properties">
  207. Properties
  208. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  209. </h3>
  210. <article
  211. class="
  212. phpdocumentor-element
  213. -property
  214. -protected
  215. "
  216. >
  217. <h4 class="phpdocumentor-element__name" id="property_FQN">
  218. $FQN
  219. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#property_FQN" class="headerlink"><i class="fas fa-link"></i></a>
  220. <span class="phpdocumentor-element__modifiers">
  221. </span>
  222. </h4>
  223. <aside class="phpdocumentor-element-found-in">
  224. <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>
  225. :
  226. <span class="phpdocumentor-element-found-in__line">23</span>
  227. </aside>
  228. <code class="phpdocumentor-code phpdocumentor-signature ">
  229. <span class="phpdocumentor-signature__visibility">protected</span>
  230. <span class="phpdocumentor-signature__type">string</span>
  231. <span class="phpdocumentor-signature__name">$FQN</span>
  232. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Decoder\IMagickLuminanceSource::class</span></code>
  233. <section class="phpdocumentor-description"></section>
  234. <section class="phpdocumentor-description"></section>
  235. </article>
  236. <article
  237. class="
  238. phpdocumentor-element
  239. -property
  240. -protected
  241. "
  242. >
  243. <h4 class="phpdocumentor-element__name" id="property_options">
  244. $options
  245. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  246. <span class="phpdocumentor-element__modifiers">
  247. </span>
  248. </h4>
  249. <aside class="phpdocumentor-element-found-in">
  250. <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>
  251. :
  252. <span class="phpdocumentor-element-found-in__line">36</span>
  253. </aside>
  254. <code class="phpdocumentor-code phpdocumentor-signature ">
  255. <span class="phpdocumentor-signature__visibility">protected</span>
  256. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  257. <span class="phpdocumentor-signature__name">$options</span>
  258. </code>
  259. <section class="phpdocumentor-description"></section>
  260. <section class="phpdocumentor-description"></section>
  261. </article>
  262. </section>
  263. <section class="phpdocumentor-methods">
  264. <h3 class="phpdocumentor-elements__header" id="methods">
  265. Methods
  266. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  267. </h3>
  268. <article
  269. class="phpdocumentor-element
  270. -method
  271. -public
  272. "
  273. >
  274. <h4 class="phpdocumentor-element__name" id="method_dataTestProvider">
  275. dataTestProvider()
  276. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider" class="headerlink"><i class="fas fa-link"></i></a>
  277. </h4>
  278. <aside class="phpdocumentor-element-found-in">
  279. <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>
  280. :
  281. <span class="phpdocumentor-element-found-in__line">105</span>
  282. </aside>
  283. <code class="phpdocumentor-code phpdocumentor-signature ">
  284. <span class="phpdocumentor-signature__visibility">public</span>
  285. <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>
  286. <section class="phpdocumentor-description"></section>
  287. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  288. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  289. &mdash;
  290. </article>
  291. <article
  292. class="phpdocumentor-element
  293. -method
  294. -public
  295. "
  296. >
  297. <h4 class="phpdocumentor-element__name" id="method_qrCodeProvider">
  298. qrCodeProvider()
  299. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  300. </h4>
  301. <aside class="phpdocumentor-element-found-in">
  302. <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>
  303. :
  304. <span class="phpdocumentor-element-found-in__line">44</span>
  305. </aside>
  306. <code class="phpdocumentor-code phpdocumentor-signature ">
  307. <span class="phpdocumentor-signature__visibility">public</span>
  308. <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>
  309. <section class="phpdocumentor-description"></section>
  310. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  311. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  312. &mdash;
  313. </article>
  314. <article
  315. class="phpdocumentor-element
  316. -method
  317. -public
  318. "
  319. >
  320. <h4 class="phpdocumentor-element__name" id="method_testReadData">
  321. testReadData()
  322. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData" class="headerlink"><i class="fas fa-link"></i></a>
  323. </h4>
  324. <aside class="phpdocumentor-element-found-in">
  325. <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>
  326. :
  327. <span class="phpdocumentor-element-found-in__line">124</span>
  328. </aside>
  329. <code class="phpdocumentor-code phpdocumentor-signature ">
  330. <span class="phpdocumentor-signature__visibility">public</span>
  331. <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>
  332. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  333. <dl class="phpdocumentor-argument-list">
  334. <dt class="phpdocumentor-argument-list__entry">
  335. <span class="phpdocumentor-signature__argument__name">$version</span>
  336. : <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>
  337. </dt>
  338. <dd class="phpdocumentor-argument-list__definition">
  339. <section class="phpdocumentor-description"></section>
  340. </dd>
  341. <dt class="phpdocumentor-argument-list__entry">
  342. <span class="phpdocumentor-signature__argument__name">$ecc</span>
  343. : <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>
  344. </dt>
  345. <dd class="phpdocumentor-argument-list__definition">
  346. <section class="phpdocumentor-description"></section>
  347. </dd>
  348. <dt class="phpdocumentor-argument-list__entry">
  349. <span class="phpdocumentor-signature__argument__name">$expected</span>
  350. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  351. </dt>
  352. <dd class="phpdocumentor-argument-list__definition">
  353. <section class="phpdocumentor-description"></section>
  354. </dd>
  355. </dl>
  356. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  357. Tags
  358. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  359. </h5>
  360. <dl class="phpdocumentor-tag-list">
  361. <dt class="phpdocumentor-tag-list__entry">
  362. <span class="phpdocumentor-tag__name">dataProvider</span>
  363. </dt>
  364. <dd class="phpdocumentor-tag-list__definition">
  365. <section class="phpdocumentor-description"><p>dataTestProvider</p>
  366. </section>
  367. </dd>
  368. </dl>
  369. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  370. <span class="phpdocumentor-signature__response_type">void</span>
  371. &mdash;
  372. </article>
  373. <article
  374. class="phpdocumentor-element
  375. -method
  376. -public
  377. "
  378. >
  379. <h4 class="phpdocumentor-element__name" id="method_testReader">
  380. testReader()
  381. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader" class="headerlink"><i class="fas fa-link"></i></a>
  382. </h4>
  383. <aside class="phpdocumentor-element-found-in">
  384. <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>
  385. :
  386. <span class="phpdocumentor-element-found-in__line">72</span>
  387. </aside>
  388. <code class="phpdocumentor-code phpdocumentor-signature ">
  389. <span class="phpdocumentor-signature__visibility">public</span>
  390. <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>
  391. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  392. <dl class="phpdocumentor-argument-list">
  393. <dt class="phpdocumentor-argument-list__entry">
  394. <span class="phpdocumentor-signature__argument__name">$img</span>
  395. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  396. </dt>
  397. <dd class="phpdocumentor-argument-list__definition">
  398. <section class="phpdocumentor-description"></section>
  399. </dd>
  400. <dt class="phpdocumentor-argument-list__entry">
  401. <span class="phpdocumentor-signature__argument__name">$expected</span>
  402. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  403. </dt>
  404. <dd class="phpdocumentor-argument-list__definition">
  405. <section class="phpdocumentor-description"></section>
  406. </dd>
  407. <dt class="phpdocumentor-argument-list__entry">
  408. <span class="phpdocumentor-signature__argument__name">$grayscale</span>
  409. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  410. </dt>
  411. <dd class="phpdocumentor-argument-list__definition">
  412. <section class="phpdocumentor-description"></section>
  413. </dd>
  414. </dl>
  415. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  416. Tags
  417. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  418. </h5>
  419. <dl class="phpdocumentor-tag-list">
  420. <dt class="phpdocumentor-tag-list__entry">
  421. <span class="phpdocumentor-tag__name">dataProvider</span>
  422. </dt>
  423. <dd class="phpdocumentor-tag-list__definition">
  424. <section class="phpdocumentor-description"><p>qrCodeProvider</p>
  425. </section>
  426. </dd>
  427. </dl>
  428. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  429. <span class="phpdocumentor-signature__response_type">void</span>
  430. &mdash;
  431. </article>
  432. <article
  433. class="phpdocumentor-element
  434. -method
  435. -public
  436. "
  437. >
  438. <h4 class="phpdocumentor-element__name" id="method_testReaderMultiSegment">
  439. testReaderMultiSegment()
  440. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiSegment" class="headerlink"><i class="fas fa-link"></i></a>
  441. </h4>
  442. <aside class="phpdocumentor-element-found-in">
  443. <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>
  444. :
  445. <span class="phpdocumentor-element-found-in__line">84</span>
  446. </aside>
  447. <code class="phpdocumentor-code phpdocumentor-signature ">
  448. <span class="phpdocumentor-signature__visibility">public</span>
  449. <span class="phpdocumentor-signature__name">testReaderMultiSegment</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  450. <section class="phpdocumentor-description"></section>
  451. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  452. <span class="phpdocumentor-signature__response_type">void</span>
  453. &mdash;
  454. </article>
  455. <article
  456. class="phpdocumentor-element
  457. -method
  458. -public
  459. "
  460. >
  461. <h4 class="phpdocumentor-element__name" id="method_testReadVectorFormats">
  462. testReadVectorFormats()
  463. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats" class="headerlink"><i class="fas fa-link"></i></a>
  464. </h4>
  465. <aside class="phpdocumentor-element-found-in">
  466. <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>
  467. :
  468. <span class="phpdocumentor-element-found-in__line">49</span>
  469. </aside>
  470. <code class="phpdocumentor-code phpdocumentor-signature ">
  471. <span class="phpdocumentor-signature__visibility">public</span>
  472. <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>
  473. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  474. <dl class="phpdocumentor-argument-list">
  475. <dt class="phpdocumentor-argument-list__entry">
  476. <span class="phpdocumentor-signature__argument__name">$img</span>
  477. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  478. </dt>
  479. <dd class="phpdocumentor-argument-list__definition">
  480. <section class="phpdocumentor-description"></section>
  481. </dd>
  482. <dt class="phpdocumentor-argument-list__entry">
  483. <span class="phpdocumentor-signature__argument__name">$expected</span>
  484. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  485. </dt>
  486. <dd class="phpdocumentor-argument-list__definition">
  487. <section class="phpdocumentor-description"></section>
  488. </dd>
  489. </dl>
  490. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  491. Tags
  492. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  493. </h5>
  494. <dl class="phpdocumentor-tag-list">
  495. <dt class="phpdocumentor-tag-list__entry">
  496. <span class="phpdocumentor-tag__name">dataProvider</span>
  497. </dt>
  498. <dd class="phpdocumentor-tag-list__definition">
  499. <section class="phpdocumentor-description"><p>vectorQRCodeProvider</p>
  500. </section>
  501. </dd>
  502. </dl>
  503. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  504. <span class="phpdocumentor-signature__response_type">void</span>
  505. &mdash;
  506. </article>
  507. <article
  508. class="phpdocumentor-element
  509. -method
  510. -public
  511. "
  512. >
  513. <h4 class="phpdocumentor-element__name" id="method_vectorQRCodeProvider">
  514. vectorQRCodeProvider()
  515. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h4>
  517. <aside class="phpdocumentor-element-found-in">
  518. <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>
  519. :
  520. <span class="phpdocumentor-element-found-in__line">36</span>
  521. </aside>
  522. <code class="phpdocumentor-code phpdocumentor-signature ">
  523. <span class="phpdocumentor-signature__visibility">public</span>
  524. <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>
  525. <section class="phpdocumentor-description"></section>
  526. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  527. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  528. &mdash;
  529. </article>
  530. <article
  531. class="phpdocumentor-element
  532. -method
  533. -protected
  534. "
  535. >
  536. <h4 class="phpdocumentor-element__name" id="method_setUp">
  537. setUp()
  538. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp" 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/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  542. :
  543. <span class="phpdocumentor-element-found-in__line">25</span>
  544. </aside>
  545. <code class="phpdocumentor-code phpdocumentor-signature ">
  546. <span class="phpdocumentor-signature__visibility">protected</span>
  547. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  548. <section class="phpdocumentor-description"></section>
  549. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  550. <span class="phpdocumentor-signature__response_type">void</span>
  551. &mdash;
  552. </article>
  553. </section>
  554. <script type="text/javascript">
  555. function loadExternalCodeSnippets(line) {
  556. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  557. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  558. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  559. var language = 'php';
  560. var code = document.createElement('code');
  561. code.className = 'language-' + language;
  562. pre.textContent = '';
  563. pre.setAttribute('data-line', line)
  564. code.textContent = 'Loading…';
  565. pre.appendChild(code);
  566. var xhr = new XMLHttpRequest();
  567. xhr.open('GET', src, true);
  568. xhr.onreadystatechange = function () {
  569. if (xhr.readyState == 4) {
  570. if (xhr.status < 400 && xhr.responseText) {
  571. code.textContent = xhr.responseText;
  572. Prism.highlightElement(code);
  573. }
  574. else if (xhr.status >= 400) {
  575. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  576. }
  577. else {
  578. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  579. }
  580. }
  581. };
  582. xhr.send(null);
  583. });
  584. }
  585. var modals = document.querySelectorAll("[data-modal]");
  586. modals.forEach(function (trigger) {
  587. trigger.addEventListener("click", function (event) {
  588. //event.preventDefault();
  589. const modal = document.getElementById(trigger.dataset.modal);
  590. modal.classList.add("phpdocumentor-modal__open");
  591. loadExternalCodeSnippets(trigger.dataset.line)
  592. const exits = modal.querySelectorAll("[data-exit-button]");
  593. exits.forEach(function (exit) {
  594. exit.addEventListener("click", function (event) {
  595. event.preventDefault();
  596. modal.classList.remove("phpdocumentor-modal__open");
  597. });
  598. });
  599. });
  600. });
  601. </script>
  602. </article>
  603. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  604. <section class="phpdocumentor-search-results__dialog">
  605. <header class="phpdocumentor-search-results__header">
  606. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  607. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  608. </header>
  609. <section class="phpdocumentor-search-results__body">
  610. <ul class="phpdocumentor-search-results__entries"></ul>
  611. </section>
  612. </section>
  613. </section>
  614. </div>
  615. </div>
  616. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  617. </main>
  618. <script>
  619. cssVars({});
  620. </script>
  621. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  622. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  623. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  624. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  625. </body>
  626. </html>