chillerlan-QRCodeTest-QROptionsTest.html 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  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. QROptionsTest
  115. <span class="phpdocumentor-element__extends">
  116. extends <abbr title="\PHPUnit\Framework\TestCase">TestCase</abbr>
  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/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  130. :
  131. <span class="phpdocumentor-element-found-in__line">24</span>
  132. </aside>
  133. <p class="phpdocumentor-summary">QROptions test</p>
  134. <h3 id="toc">
  135. Table of Contents
  136. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  137. </h3>
  138. <h4 id="toc-methods">
  139. Methods
  140. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#toc-methods" 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 -method -public">
  144. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider">circleRadiusProvider()</a>
  145. <span>
  146. &nbsp;: array&lt;string|int, array&lt;string|int, float&gt;&gt; </span>
  147. </dt>
  148. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  149. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider">logoSpaceValueProvider()</a>
  150. <span>
  151. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  152. </dt>
  153. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  154. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider">RGBProvider()</a>
  155. <span>
  156. &nbsp;: array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt; </span>
  157. </dt>
  158. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  159. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius">testClampCircleRadius()</a>
  160. <span>
  161. &nbsp;: void </span>
  162. </dt>
  163. <dd>Tests clamping of the circle radius</dd>
  164. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  165. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue">testClampLogoSpaceValue()</a>
  166. <span>
  167. &nbsp;: void </span>
  168. </dt>
  169. <dd>Tests the clamping (between 0 and 177) of the logo space values</dd>
  170. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  171. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable">testLogoSpaceStartNullable()</a>
  172. <span>
  173. &nbsp;: void </span>
  174. </dt>
  175. <dd>Tests if the optional logo space start values are nullable</dd>
  176. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  177. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel">testSetEccLevel()</a>
  178. <span>
  179. &nbsp;: void </span>
  180. </dt>
  181. <dd>Tests setting the ECC level from string or int</dd>
  182. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  183. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException">testSetEccLevelFromIntException()</a>
  184. <span>
  185. &nbsp;: void </span>
  186. </dt>
  187. <dd>Tests if an exception is thrown when attempting to set an invalid ECC level integer</dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  189. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException">testSetEccLevelFromStringException()</a>
  190. <span>
  191. &nbsp;: void </span>
  192. </dt>
  193. <dd>Tests if an exception is thrown when attempting to set an invalid ECC level string</dd>
  194. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  195. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp">testVersionClamp()</a>
  196. <span>
  197. &nbsp;: void </span>
  198. </dt>
  199. <dd>Tests the $version clamping</dd>
  200. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  201. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp">testVersionMinMaxClamp()</a>
  202. <span>
  203. &nbsp;: void </span>
  204. </dt>
  205. <dd>Tests the $versionMin/$versionMax clamping</dd>
  206. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  207. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider">VersionMinMaxProvider()</a>
  208. <span>
  209. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  210. </dt>
  211. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  212. <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider">VersionProvider()</a>
  213. <span>
  214. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  215. </dt>
  216. </dl>
  217. <section class="phpdocumentor-methods">
  218. <h3 class="phpdocumentor-elements__header" id="methods">
  219. Methods
  220. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  221. </h3>
  222. <article
  223. class="phpdocumentor-element
  224. -method
  225. -public
  226. -static "
  227. >
  228. <h4 class="phpdocumentor-element__name" id="method_circleRadiusProvider">
  229. circleRadiusProvider()
  230. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider" class="headerlink"><i class="fas fa-link"></i></a>
  231. </h4>
  232. <aside class="phpdocumentor-element-found-in">
  233. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  234. :
  235. <span class="phpdocumentor-element-found-in__line">166</span>
  236. </aside>
  237. <code class="phpdocumentor-code phpdocumentor-signature ">
  238. <span class="phpdocumentor-signature__visibility">public</span>
  239. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">circleRadiusProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, float&gt;&gt;</span></code>
  240. <div class="phpdocumentor-label-line">
  241. </div>
  242. <section>
  243. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  244. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, float&gt;&gt;</span>
  245. </section>
  246. </article>
  247. <article
  248. class="phpdocumentor-element
  249. -method
  250. -public
  251. -static "
  252. >
  253. <h4 class="phpdocumentor-element__name" id="method_logoSpaceValueProvider">
  254. logoSpaceValueProvider()
  255. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider" class="headerlink"><i class="fas fa-link"></i></a>
  256. </h4>
  257. <aside class="phpdocumentor-element-found-in">
  258. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  259. :
  260. <span class="phpdocumentor-element-found-in__line">120</span>
  261. </aside>
  262. <code class="phpdocumentor-code phpdocumentor-signature ">
  263. <span class="phpdocumentor-signature__visibility">public</span>
  264. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">logoSpaceValueProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span></code>
  265. <div class="phpdocumentor-label-line">
  266. </div>
  267. <section>
  268. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  269. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  270. </section>
  271. </article>
  272. <article
  273. class="phpdocumentor-element
  274. -method
  275. -public
  276. -static "
  277. >
  278. <h4 class="phpdocumentor-element__name" id="method_RGBProvider">
  279. RGBProvider()
  280. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider" class="headerlink"><i class="fas fa-link"></i></a>
  281. </h4>
  282. <aside class="phpdocumentor-element-found-in">
  283. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  284. :
  285. <span class="phpdocumentor-element-found-in__line">109</span>
  286. </aside>
  287. <code class="phpdocumentor-code phpdocumentor-signature ">
  288. <span class="phpdocumentor-signature__visibility">public</span>
  289. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">RGBProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt;</span></code>
  290. <div class="phpdocumentor-label-line">
  291. </div>
  292. <section>
  293. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  294. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt;</span>
  295. </section>
  296. </article>
  297. <article
  298. class="phpdocumentor-element
  299. -method
  300. -public
  301. "
  302. >
  303. <h4 class="phpdocumentor-element__name" id="method_testClampCircleRadius">
  304. testClampCircleRadius()
  305. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius" class="headerlink"><i class="fas fa-link"></i></a>
  306. </h4>
  307. <aside class="phpdocumentor-element-found-in">
  308. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  309. :
  310. <span class="phpdocumentor-element-found-in__line">177</span>
  311. </aside>
  312. <p class="phpdocumentor-summary">Tests clamping of the circle radius</p>
  313. <code class="phpdocumentor-code phpdocumentor-signature ">
  314. <span class="phpdocumentor-signature__visibility">public</span>
  315. <span class="phpdocumentor-signature__name">testClampCircleRadius</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  316. <div class="phpdocumentor-label-line">
  317. </div>
  318. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  319. <dl class="phpdocumentor-argument-list">
  320. <dt class="phpdocumentor-argument-list__entry">
  321. <span class="phpdocumentor-signature__argument__name">$value</span>
  322. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  323. </dt>
  324. <dd class="phpdocumentor-argument-list__definition">
  325. </dd>
  326. <dt class="phpdocumentor-argument-list__entry">
  327. <span class="phpdocumentor-signature__argument__name">$expected</span>
  328. : <span class="phpdocumentor-signature__argument__return-type">float</span>
  329. </dt>
  330. <dd class="phpdocumentor-argument-list__definition">
  331. </dd>
  332. </dl>
  333. <section class="phpdocumentor-attributes">
  334. <h5 class="phpdocumentor-elements__header" id="attributes">
  335. Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  336. </h5>
  337. <dl class="phpdocumentor-argument-list">
  338. <dt class="phpdocumentor-argument-list__entry">
  339. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  340. </dt>
  341. <dd class="phpdocumentor-argument-list__entry">
  342. &#039;circleRadiusProvider&#039;
  343. </dd>
  344. </dl>
  345. </section>
  346. </article>
  347. <article
  348. class="phpdocumentor-element
  349. -method
  350. -public
  351. "
  352. >
  353. <h4 class="phpdocumentor-element__name" id="method_testClampLogoSpaceValue">
  354. testClampLogoSpaceValue()
  355. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue" class="headerlink"><i class="fas fa-link"></i></a>
  356. </h4>
  357. <aside class="phpdocumentor-element-found-in">
  358. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  359. :
  360. <span class="phpdocumentor-element-found-in__line">133</span>
  361. </aside>
  362. <p class="phpdocumentor-summary">Tests the clamping (between 0 and 177) of the logo space values</p>
  363. <code class="phpdocumentor-code phpdocumentor-signature ">
  364. <span class="phpdocumentor-signature__visibility">public</span>
  365. <span class="phpdocumentor-signature__name">testClampLogoSpaceValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  366. <div class="phpdocumentor-label-line">
  367. </div>
  368. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  369. <dl class="phpdocumentor-argument-list">
  370. <dt class="phpdocumentor-argument-list__entry">
  371. <span class="phpdocumentor-signature__argument__name">$value</span>
  372. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  373. </dt>
  374. <dd class="phpdocumentor-argument-list__definition">
  375. </dd>
  376. <dt class="phpdocumentor-argument-list__entry">
  377. <span class="phpdocumentor-signature__argument__name">$expected</span>
  378. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  379. </dt>
  380. <dd class="phpdocumentor-argument-list__definition">
  381. </dd>
  382. </dl>
  383. <section class="phpdocumentor-attributes">
  384. <h5 class="phpdocumentor-elements__header" id="attributes">
  385. Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  386. </h5>
  387. <dl class="phpdocumentor-argument-list">
  388. <dt class="phpdocumentor-argument-list__entry">
  389. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  390. </dt>
  391. <dd class="phpdocumentor-argument-list__entry">
  392. &#039;logoSpaceValueProvider&#039;
  393. </dd>
  394. </dl>
  395. </section>
  396. </article>
  397. <article
  398. class="phpdocumentor-element
  399. -method
  400. -public
  401. "
  402. >
  403. <h4 class="phpdocumentor-element__name" id="method_testLogoSpaceStartNullable">
  404. testLogoSpaceStartNullable()
  405. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable" class="headerlink"><i class="fas fa-link"></i></a>
  406. </h4>
  407. <aside class="phpdocumentor-element-found-in">
  408. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  409. :
  410. <span class="phpdocumentor-element-found-in__line">147</span>
  411. </aside>
  412. <p class="phpdocumentor-summary">Tests if the optional logo space start values are nullable</p>
  413. <code class="phpdocumentor-code phpdocumentor-signature ">
  414. <span class="phpdocumentor-signature__visibility">public</span>
  415. <span class="phpdocumentor-signature__name">testLogoSpaceStartNullable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  416. <div class="phpdocumentor-label-line">
  417. </div>
  418. </article>
  419. <article
  420. class="phpdocumentor-element
  421. -method
  422. -public
  423. "
  424. >
  425. <h4 class="phpdocumentor-element__name" id="method_testSetEccLevel">
  426. testSetEccLevel()
  427. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  428. </h4>
  429. <aside class="phpdocumentor-element-found-in">
  430. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  431. :
  432. <span class="phpdocumentor-element-found-in__line">76</span>
  433. </aside>
  434. <p class="phpdocumentor-summary">Tests setting the ECC level from string or int</p>
  435. <code class="phpdocumentor-code phpdocumentor-signature ">
  436. <span class="phpdocumentor-signature__visibility">public</span>
  437. <span class="phpdocumentor-signature__name">testSetEccLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  438. <div class="phpdocumentor-label-line">
  439. </div>
  440. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  441. Tags
  442. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel#tags" class="headerlink"><i class="fas fa-link"></i></a>
  443. </h5>
  444. <dl class="phpdocumentor-tag-list">
  445. <dt class="phpdocumentor-tag-list__entry">
  446. <span class="phpdocumentor-tag__name">phan-suppress</span>
  447. </dt>
  448. <dd class="phpdocumentor-tag-list__definition">
  449. <section class="phpdocumentor-description"><p>PhanTypeMismatchPropertyProbablyReal</p>
  450. </section>
  451. </dd>
  452. </dl>
  453. </article>
  454. <article
  455. class="phpdocumentor-element
  456. -method
  457. -public
  458. "
  459. >
  460. <h4 class="phpdocumentor-element__name" id="method_testSetEccLevelFromIntException">
  461. testSetEccLevelFromIntException()
  462. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException" class="headerlink"><i class="fas fa-link"></i></a>
  463. </h4>
  464. <aside class="phpdocumentor-element-found-in">
  465. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  466. :
  467. <span class="phpdocumentor-element-found-in__line">89</span>
  468. </aside>
  469. <p class="phpdocumentor-summary">Tests if an exception is thrown when attempting to set an invalid ECC level integer</p>
  470. <code class="phpdocumentor-code phpdocumentor-signature ">
  471. <span class="phpdocumentor-signature__visibility">public</span>
  472. <span class="phpdocumentor-signature__name">testSetEccLevelFromIntException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  473. <div class="phpdocumentor-label-line">
  474. </div>
  475. </article>
  476. <article
  477. class="phpdocumentor-element
  478. -method
  479. -public
  480. "
  481. >
  482. <h4 class="phpdocumentor-element__name" id="method_testSetEccLevelFromStringException">
  483. testSetEccLevelFromStringException()
  484. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException" class="headerlink"><i class="fas fa-link"></i></a>
  485. </h4>
  486. <aside class="phpdocumentor-element-found-in">
  487. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  488. :
  489. <span class="phpdocumentor-element-found-in__line">99</span>
  490. </aside>
  491. <p class="phpdocumentor-summary">Tests if an exception is thrown when attempting to set an invalid ECC level string</p>
  492. <code class="phpdocumentor-code phpdocumentor-signature ">
  493. <span class="phpdocumentor-signature__visibility">public</span>
  494. <span class="phpdocumentor-signature__name">testSetEccLevelFromStringException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  495. <div class="phpdocumentor-label-line">
  496. </div>
  497. </article>
  498. <article
  499. class="phpdocumentor-element
  500. -method
  501. -public
  502. "
  503. >
  504. <h4 class="phpdocumentor-element__name" id="method_testVersionClamp">
  505. testVersionClamp()
  506. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp" class="headerlink"><i class="fas fa-link"></i></a>
  507. </h4>
  508. <aside class="phpdocumentor-element-found-in">
  509. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  510. :
  511. <span class="phpdocumentor-element-found-in__line">41</span>
  512. </aside>
  513. <p class="phpdocumentor-summary">Tests the $version clamping</p>
  514. <code class="phpdocumentor-code phpdocumentor-signature ">
  515. <span class="phpdocumentor-signature__visibility">public</span>
  516. <span class="phpdocumentor-signature__name">testVersionClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&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">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  517. <div class="phpdocumentor-label-line">
  518. </div>
  519. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  520. <dl class="phpdocumentor-argument-list">
  521. <dt class="phpdocumentor-argument-list__entry">
  522. <span class="phpdocumentor-signature__argument__name">$version</span>
  523. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  524. </dt>
  525. <dd class="phpdocumentor-argument-list__definition">
  526. </dd>
  527. <dt class="phpdocumentor-argument-list__entry">
  528. <span class="phpdocumentor-signature__argument__name">$expected</span>
  529. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  530. </dt>
  531. <dd class="phpdocumentor-argument-list__definition">
  532. </dd>
  533. </dl>
  534. <section class="phpdocumentor-attributes">
  535. <h5 class="phpdocumentor-elements__header" id="attributes">
  536. Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  537. </h5>
  538. <dl class="phpdocumentor-argument-list">
  539. <dt class="phpdocumentor-argument-list__entry">
  540. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  541. </dt>
  542. <dd class="phpdocumentor-argument-list__entry">
  543. &#039;VersionProvider&#039;
  544. </dd>
  545. </dl>
  546. </section>
  547. </article>
  548. <article
  549. class="phpdocumentor-element
  550. -method
  551. -public
  552. "
  553. >
  554. <h4 class="phpdocumentor-element__name" id="method_testVersionMinMaxClamp">
  555. testVersionMinMaxClamp()
  556. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp" class="headerlink"><i class="fas fa-link"></i></a>
  557. </h4>
  558. <aside class="phpdocumentor-element-found-in">
  559. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  560. :
  561. <span class="phpdocumentor-element-found-in__line">63</span>
  562. </aside>
  563. <p class="phpdocumentor-summary">Tests the $versionMin/$versionMax clamping</p>
  564. <code class="phpdocumentor-code phpdocumentor-signature ">
  565. <span class="phpdocumentor-signature__visibility">public</span>
  566. <span class="phpdocumentor-signature__name">testVersionMinMaxClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionMax</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expectedMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expectedMax</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  567. <div class="phpdocumentor-label-line">
  568. </div>
  569. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  570. <dl class="phpdocumentor-argument-list">
  571. <dt class="phpdocumentor-argument-list__entry">
  572. <span class="phpdocumentor-signature__argument__name">$versionMin</span>
  573. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  574. </dt>
  575. <dd class="phpdocumentor-argument-list__definition">
  576. </dd>
  577. <dt class="phpdocumentor-argument-list__entry">
  578. <span class="phpdocumentor-signature__argument__name">$versionMax</span>
  579. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  580. </dt>
  581. <dd class="phpdocumentor-argument-list__definition">
  582. </dd>
  583. <dt class="phpdocumentor-argument-list__entry">
  584. <span class="phpdocumentor-signature__argument__name">$expectedMin</span>
  585. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  586. </dt>
  587. <dd class="phpdocumentor-argument-list__definition">
  588. </dd>
  589. <dt class="phpdocumentor-argument-list__entry">
  590. <span class="phpdocumentor-signature__argument__name">$expectedMax</span>
  591. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  592. </dt>
  593. <dd class="phpdocumentor-argument-list__definition">
  594. </dd>
  595. </dl>
  596. <section class="phpdocumentor-attributes">
  597. <h5 class="phpdocumentor-elements__header" id="attributes">
  598. Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  599. </h5>
  600. <dl class="phpdocumentor-argument-list">
  601. <dt class="phpdocumentor-argument-list__entry">
  602. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  603. </dt>
  604. <dd class="phpdocumentor-argument-list__entry">
  605. &#039;VersionMinMaxProvider&#039;
  606. </dd>
  607. </dl>
  608. </section>
  609. </article>
  610. <article
  611. class="phpdocumentor-element
  612. -method
  613. -public
  614. -static "
  615. >
  616. <h4 class="phpdocumentor-element__name" id="method_VersionMinMaxProvider">
  617. VersionMinMaxProvider()
  618. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider" class="headerlink"><i class="fas fa-link"></i></a>
  619. </h4>
  620. <aside class="phpdocumentor-element-found-in">
  621. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  622. :
  623. <span class="phpdocumentor-element-found-in__line">51</span>
  624. </aside>
  625. <code class="phpdocumentor-code phpdocumentor-signature ">
  626. <span class="phpdocumentor-signature__visibility">public</span>
  627. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">VersionMinMaxProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span></code>
  628. <div class="phpdocumentor-label-line">
  629. </div>
  630. <section>
  631. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  632. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  633. </section>
  634. </article>
  635. <article
  636. class="phpdocumentor-element
  637. -method
  638. -public
  639. -static "
  640. >
  641. <h4 class="phpdocumentor-element__name" id="method_VersionProvider">
  642. VersionProvider()
  643. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider" class="headerlink"><i class="fas fa-link"></i></a>
  644. </h4>
  645. <aside class="phpdocumentor-element-found-in">
  646. <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
  647. :
  648. <span class="phpdocumentor-element-found-in__line">29</span>
  649. </aside>
  650. <code class="phpdocumentor-code phpdocumentor-signature ">
  651. <span class="phpdocumentor-signature__visibility">public</span>
  652. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">VersionProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span></code>
  653. <div class="phpdocumentor-label-line">
  654. </div>
  655. <section>
  656. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  657. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  658. </section>
  659. </article>
  660. </section>
  661. <div class="phpdocumentor-modal" id="source-view">
  662. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  663. <div class="phpdocumentor-modal-container">
  664. <div class="phpdocumentor-modal-content">
  665. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/QROptionsTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  666. </div>
  667. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  668. </div>
  669. </div>
  670. <script type="text/javascript">
  671. (function () {
  672. function loadExternalCodeSnippet(el, url, line) {
  673. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  674. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  675. const language = 'php';
  676. const code = document.createElement('code');
  677. code.className = 'language-' + language;
  678. pre.textContent = '';
  679. pre.setAttribute('data-line', line)
  680. code.textContent = 'Loading…';
  681. pre.appendChild(code);
  682. var xhr = new XMLHttpRequest();
  683. xhr.open('GET', src, true);
  684. xhr.onreadystatechange = function () {
  685. if (xhr.readyState !== 4) {
  686. return;
  687. }
  688. if (xhr.status < 400 && xhr.responseText) {
  689. code.textContent = xhr.responseText;
  690. Prism.highlightElement(code);
  691. d=document.getElementsByClassName("line-numbers");
  692. d[0].scrollTop = d[0].children[1].offsetTop;
  693. return;
  694. }
  695. if (xhr.status === 404) {
  696. code.textContent = '✖ Error: File could not be found';
  697. return;
  698. }
  699. if (xhr.status >= 400) {
  700. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  701. return;
  702. }
  703. code.textContent = '✖ Error: An unknown error occurred';
  704. };
  705. xhr.send(null);
  706. });
  707. }
  708. const modalButtons = document.querySelectorAll("[data-modal]");
  709. const openedAsLocalFile = window.location.protocol === 'file:';
  710. if (modalButtons.length > 0 && openedAsLocalFile) {
  711. console.warn(
  712. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  713. 'browsers block XHR requests when a page is opened this way'
  714. );
  715. }
  716. modalButtons.forEach(function (trigger) {
  717. if (openedAsLocalFile) {
  718. trigger.setAttribute("hidden", "hidden");
  719. }
  720. trigger.addEventListener("click", function (event) {
  721. event.preventDefault();
  722. const modal = document.getElementById(trigger.dataset.modal);
  723. if (!modal) {
  724. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  725. return;
  726. }
  727. modal.classList.add("phpdocumentor-modal__open");
  728. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  729. const exits = modal.querySelectorAll("[data-exit-button]");
  730. exits.forEach(function (exit) {
  731. exit.addEventListener("click", function (event) {
  732. event.preventDefault();
  733. modal.classList.remove("phpdocumentor-modal__open");
  734. });
  735. });
  736. });
  737. });
  738. })();
  739. </script>
  740. </article>
  741. </section>
  742. <section class="phpdocumentor-on-this-page__sidebar">
  743. <section class="phpdocumentor-on-this-page__content">
  744. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  745. <ul class="phpdocumentor-list -clean">
  746. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  747. <li>
  748. <ul class="phpdocumentor-list -clean">
  749. <li><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#toc-methods">Methods</a></li>
  750. </ul>
  751. </li>
  752. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  753. <li>
  754. <ul class="phpdocumentor-list -clean">
  755. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider">circleRadiusProvider()</a></li>
  756. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider">logoSpaceValueProvider()</a></li>
  757. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider">RGBProvider()</a></li>
  758. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius">testClampCircleRadius()</a></li>
  759. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue">testClampLogoSpaceValue()</a></li>
  760. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable">testLogoSpaceStartNullable()</a></li>
  761. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel">testSetEccLevel()</a></li>
  762. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException">testSetEccLevelFromIntException()</a></li>
  763. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException">testSetEccLevelFromStringException()</a></li>
  764. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp">testVersionClamp()</a></li>
  765. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp">testVersionMinMaxClamp()</a></li>
  766. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider">VersionMinMaxProvider()</a></li>
  767. <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider">VersionProvider()</a></li>
  768. </ul>
  769. </li>
  770. </ul>
  771. </section>
  772. </section>
  773. </div>
  774. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  775. <section class="phpdocumentor-search-results__dialog">
  776. <header class="phpdocumentor-search-results__header">
  777. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  778. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  779. </header>
  780. <section class="phpdocumentor-search-results__body">
  781. <ul class="phpdocumentor-search-results__entries"></ul>
  782. </section>
  783. </section>
  784. </section>
  785. </div>
  786. <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  787. </main>
  788. <script>
  789. cssVars({});
  790. </script>
  791. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  792. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  793. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  794. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  795. </body>
  796. </html>