Output-QRGdImageAVIFTest.html 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237
  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. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. <h4 class="phpdocumentor-sidebar__root-namespace">
  82. <a href="namespaces/output.html" class="">Output</a>
  83. </h4>
  84. </section>
  85. <section class="phpdocumentor-sidebar__category">
  86. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  87. <h4 class="phpdocumentor-sidebar__root-namespace">
  88. <a href="packages/Application.html" class="">Application</a>
  89. </h4>
  90. </section>
  91. <section class="phpdocumentor-sidebar__category">
  92. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  93. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  94. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  95. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  96. </section>
  97. <section class="phpdocumentor-sidebar__category">
  98. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  100. </section>
  101. </aside>
  102. <div class="phpdocumentor-column -nine phpdocumentor-content">
  103. <section>
  104. <ul class="phpdocumentor-breadcrumbs">
  105. <li class="phpdocumentor-breadcrumb"><a href="namespaces/output.html">Output</a></li>
  106. </ul>
  107. <article class="phpdocumentor-element -class">
  108. <h2 class="phpdocumentor-content__title">
  109. QRGdImageAVIFTest
  110. <span class="phpdocumentor-element__extends">
  111. extends <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Output\QRGdImageTestAbstract">QRGdImageTestAbstract</abbr></a>
  112. </span>
  113. <div class="phpdocumentor-element__package">
  114. in package
  115. <ul class="phpdocumentor-breadcrumbs">
  116. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  117. </ul>
  118. </div>
  119. </h2>
  120. <div class="phpdocumentor-label-line">
  121. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  122. </div>
  123. <aside class="phpdocumentor-element-found-in">
  124. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRGdImageAVIFTest.php"><a href="files/tests-output-qrgdimageaviftest.html"><abbr title="tests/Output/QRGdImageAVIFTest.php">QRGdImageAVIFTest.php</abbr></a></abbr>
  125. :
  126. <span class="phpdocumentor-element-found-in__line">22</span>
  127. </aside>
  128. <p class="phpdocumentor-summary">Tests the QRGdImage output module</p>
  129. <h3 id="toc">
  130. Table of Contents
  131. <a href="classes/Output-QRGdImageAVIFTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  132. </h3>
  133. <h4 id="toc-constants">
  134. Constants
  135. <a href="classes/Output-QRGdImageAVIFTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  136. </h4>
  137. <dl class="phpdocumentor-table-of-contents">
  138. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  139. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a>
  140. <span>
  141. &nbsp;= &#039;output-test&#039; </span>
  142. </dt>
  143. </dl>
  144. <h4 id="toc-properties">
  145. Properties
  146. <a href="classes/Output-QRGdImageAVIFTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  147. </h4>
  148. <dl class="phpdocumentor-table-of-contents">
  149. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  150. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix</a>
  151. <span>
  152. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  153. </dt>
  154. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  155. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options</a>
  156. <span>
  157. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  158. </dt>
  159. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  160. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface</a>
  161. <span>
  162. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  163. </dt>
  164. </dl>
  165. <h4 id="toc-methods">
  166. Methods
  167. <a href="classes/Output-QRGdImageAVIFTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  168. </h4>
  169. <dl class="phpdocumentor-table-of-contents">
  170. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  171. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider">moduleValueProvider()</a>
  172. <span>
  173. &nbsp;: array&lt;string|int, mixed&gt; </span>
  174. </dt>
  175. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  176. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testBase64MimeType">testBase64MimeType()</a>
  177. <span>
  178. &nbsp;: void </span>
  179. </dt>
  180. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  181. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testOutputGetResource">testOutputGetResource()</a>
  182. <span>
  183. &nbsp;: void </span>
  184. </dt>
  185. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  186. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile">testRenderToCacheFile()</a>
  187. <span>
  188. &nbsp;: void </span>
  189. </dt>
  190. <dd>coverage of the built-in output modules</dd>
  191. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  192. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException">testSaveException()</a>
  193. <span>
  194. &nbsp;: void </span>
  195. </dt>
  196. <dd>Tests if an exception is thrown when trying to write a cache file to an invalid destination</dd>
  197. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  198. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues">testSetModuleValues()</a>
  199. <span>
  200. &nbsp;: void </span>
  201. </dt>
  202. <dd>covers the module values settings</dd>
  203. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  204. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues">testValidateModuleValues()</a>
  205. <span>
  206. &nbsp;: void </span>
  207. </dt>
  208. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  209. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a>
  210. <span>
  211. &nbsp;: void </span>
  212. </dt>
  213. <dd>attempts to create the build dir</dd>
  214. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  215. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a>
  216. <span>
  217. &nbsp;: string </span>
  218. </dt>
  219. <dd>returns the full (real) path to the given build path</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  221. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a>
  222. <span>
  223. &nbsp;: string </span>
  224. </dt>
  225. <dd>returns the contents of the given build file</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  227. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a>
  228. <span>
  229. &nbsp;: string </span>
  230. </dt>
  231. <dd>returns the full (real) path to the given build file</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  233. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a>
  234. <span>
  235. &nbsp;: string </span>
  236. </dt>
  237. <dd>returns the full raw path to the build dir</dd>
  238. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  239. <a href="classes/Output-QRGdImageAVIFTest.html#method_getOutputInterface">getOutputInterface()</a>
  240. <span>
  241. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  242. </dt>
  243. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  244. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a>
  245. <span>
  246. &nbsp;: void </span>
  247. </dt>
  248. <dd>Attempts to create a directory under /.build and instances several required objects</dd>
  249. </dl>
  250. <section class="phpdocumentor-constants">
  251. <h3 class="phpdocumentor-elements__header" id="constants">
  252. Constants
  253. <a href="classes/Output-QRGdImageAVIFTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  254. </h3>
  255. <article class="phpdocumentor-element -constant -protected ">
  256. <h4 class="phpdocumentor-element__name" id="constant_buildDir">
  257. buildDir
  258. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir" class="headerlink"><i class="fas fa-link"></i></a>
  259. </h4>
  260. <aside class="phpdocumentor-element-found-in">
  261. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  262. :
  263. <span class="phpdocumentor-element-found-in__line">33</span>
  264. </aside>
  265. <code class="phpdocumentor-signature phpdocumentor-code ">
  266. <span class="phpdocumentor-signature__visibility">protected</span>
  267. <span class="phpdocumentor-signature__type">mixed</span>
  268. <span class="phpdocumentor-signature__name">buildDir</span>
  269. = <span class="phpdocumentor-signature__default-value">&#039;output-test&#039;</span>
  270. </code>
  271. </article>
  272. </section>
  273. <section class="phpdocumentor-properties">
  274. <h3 class="phpdocumentor-elements__header" id="properties">
  275. Properties
  276. <a href="classes/Output-QRGdImageAVIFTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  277. </h3>
  278. <article
  279. class="
  280. phpdocumentor-element
  281. -property
  282. -protected
  283. "
  284. >
  285. <h4 class="phpdocumentor-element__name" id="property_matrix">
  286. $matrix
  287. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  288. <span class="phpdocumentor-element__modifiers">
  289. </span>
  290. </h4>
  291. <aside class="phpdocumentor-element-found-in">
  292. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  293. :
  294. <span class="phpdocumentor-element-found-in__line">31</span>
  295. </aside>
  296. <code class="phpdocumentor-code phpdocumentor-signature ">
  297. <span class="phpdocumentor-signature__visibility">protected</span>
  298. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  299. <span class="phpdocumentor-signature__name">$matrix</span>
  300. </code>
  301. </article>
  302. <article
  303. class="
  304. phpdocumentor-element
  305. -property
  306. -protected
  307. "
  308. >
  309. <h4 class="phpdocumentor-element__name" id="property_options">
  310. $options
  311. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  312. <span class="phpdocumentor-element__modifiers">
  313. </span>
  314. </h4>
  315. <aside class="phpdocumentor-element-found-in">
  316. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  317. :
  318. <span class="phpdocumentor-element-found-in__line">29</span>
  319. </aside>
  320. <code class="phpdocumentor-code phpdocumentor-signature ">
  321. <span class="phpdocumentor-signature__visibility">protected</span>
  322. <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>
  323. <span class="phpdocumentor-signature__name">$options</span>
  324. </code>
  325. </article>
  326. <article
  327. class="
  328. phpdocumentor-element
  329. -property
  330. -protected
  331. "
  332. >
  333. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  334. $outputInterface
  335. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  336. <span class="phpdocumentor-element__modifiers">
  337. </span>
  338. </h4>
  339. <aside class="phpdocumentor-element-found-in">
  340. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  341. :
  342. <span class="phpdocumentor-element-found-in__line">30</span>
  343. </aside>
  344. <code class="phpdocumentor-code phpdocumentor-signature ">
  345. <span class="phpdocumentor-signature__visibility">protected</span>
  346. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  347. <span class="phpdocumentor-signature__name">$outputInterface</span>
  348. </code>
  349. </article>
  350. </section>
  351. <section class="phpdocumentor-methods">
  352. <h3 class="phpdocumentor-elements__header" id="methods">
  353. Methods
  354. <a href="classes/Output-QRGdImageAVIFTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  355. </h3>
  356. <article
  357. class="phpdocumentor-element
  358. -method
  359. -public
  360. -abstract -static "
  361. >
  362. <h4 class="phpdocumentor-element__name" id="method_moduleValueProvider">
  363. moduleValueProvider()
  364. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider" class="headerlink"><i class="fas fa-link"></i></a>
  365. </h4>
  366. <aside class="phpdocumentor-element-found-in">
  367. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  368. :
  369. <span class="phpdocumentor-element-found-in__line">61</span>
  370. </aside>
  371. <code class="phpdocumentor-code phpdocumentor-signature ">
  372. <span class="phpdocumentor-signature__visibility">public</span>
  373. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  374. <div class="phpdocumentor-label-line">
  375. </div>
  376. <section>
  377. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  378. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  379. </section>
  380. </article>
  381. <article
  382. class="phpdocumentor-element
  383. -method
  384. -public
  385. "
  386. >
  387. <h4 class="phpdocumentor-element__name" id="method_testBase64MimeType">
  388. testBase64MimeType()
  389. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testBase64MimeType" class="headerlink"><i class="fas fa-link"></i></a>
  390. </h4>
  391. <aside class="phpdocumentor-element-found-in">
  392. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRGdImageTestAbstract.php"><a href="files/tests-output-qrgdimagetestabstract.html"><abbr title="tests/Output/QRGdImageTestAbstract.php">QRGdImageTestAbstract.php</abbr></a></abbr>
  393. :
  394. <span class="phpdocumentor-element-found-in__line">71</span>
  395. </aside>
  396. <code class="phpdocumentor-code phpdocumentor-signature ">
  397. <span class="phpdocumentor-signature__visibility">public</span>
  398. <span class="phpdocumentor-signature__name">testBase64MimeType</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  399. <div class="phpdocumentor-label-line">
  400. </div>
  401. </article>
  402. <article
  403. class="phpdocumentor-element
  404. -method
  405. -public
  406. "
  407. >
  408. <h4 class="phpdocumentor-element__name" id="method_testOutputGetResource">
  409. testOutputGetResource()
  410. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testOutputGetResource" class="headerlink"><i class="fas fa-link"></i></a>
  411. </h4>
  412. <aside class="phpdocumentor-element-found-in">
  413. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRGdImageTestAbstract.php"><a href="files/tests-output-qrgdimagetestabstract.html"><abbr title="tests/Output/QRGdImageTestAbstract.php">QRGdImageTestAbstract.php</abbr></a></abbr>
  414. :
  415. <span class="phpdocumentor-element-found-in__line">64</span>
  416. </aside>
  417. <code class="phpdocumentor-code phpdocumentor-signature ">
  418. <span class="phpdocumentor-signature__visibility">public</span>
  419. <span class="phpdocumentor-signature__name">testOutputGetResource</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  420. <div class="phpdocumentor-label-line">
  421. </div>
  422. </article>
  423. <article
  424. class="phpdocumentor-element
  425. -method
  426. -public
  427. "
  428. >
  429. <h4 class="phpdocumentor-element__name" id="method_testRenderToCacheFile">
  430. testRenderToCacheFile()
  431. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile" class="headerlink"><i class="fas fa-link"></i></a>
  432. </h4>
  433. <aside class="phpdocumentor-element-found-in">
  434. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  435. :
  436. <span class="phpdocumentor-element-found-in__line">80</span>
  437. </aside>
  438. <p class="phpdocumentor-summary">coverage of the built-in output modules</p>
  439. <code class="phpdocumentor-code phpdocumentor-signature ">
  440. <span class="phpdocumentor-signature__visibility">public</span>
  441. <span class="phpdocumentor-signature__name">testRenderToCacheFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  442. <div class="phpdocumentor-label-line">
  443. </div>
  444. </article>
  445. <article
  446. class="phpdocumentor-element
  447. -method
  448. -public
  449. "
  450. >
  451. <h4 class="phpdocumentor-element__name" id="method_testSaveException">
  452. testSaveException()
  453. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException" class="headerlink"><i class="fas fa-link"></i></a>
  454. </h4>
  455. <aside class="phpdocumentor-element-found-in">
  456. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  457. :
  458. <span class="phpdocumentor-element-found-in__line">54</span>
  459. </aside>
  460. <p class="phpdocumentor-summary">Tests if an exception is thrown when trying to write a cache file to an invalid destination</p>
  461. <code class="phpdocumentor-code phpdocumentor-signature ">
  462. <span class="phpdocumentor-signature__visibility">public</span>
  463. <span class="phpdocumentor-signature__name">testSaveException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  464. <div class="phpdocumentor-label-line">
  465. </div>
  466. </article>
  467. <article
  468. class="phpdocumentor-element
  469. -method
  470. -public
  471. -abstract "
  472. >
  473. <h4 class="phpdocumentor-element__name" id="method_testSetModuleValues">
  474. testSetModuleValues()
  475. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  476. </h4>
  477. <aside class="phpdocumentor-element-found-in">
  478. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  479. :
  480. <span class="phpdocumentor-element-found-in__line">75</span>
  481. </aside>
  482. <p class="phpdocumentor-summary">covers the module values settings</p>
  483. <code class="phpdocumentor-code phpdocumentor-signature ">
  484. <span class="phpdocumentor-signature__visibility">public</span>
  485. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">testSetModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  486. <div class="phpdocumentor-label-line">
  487. </div>
  488. </article>
  489. <article
  490. class="phpdocumentor-element
  491. -method
  492. -public
  493. "
  494. >
  495. <h4 class="phpdocumentor-element__name" id="method_testValidateModuleValues">
  496. testValidateModuleValues()
  497. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  498. </h4>
  499. <aside class="phpdocumentor-element-found-in">
  500. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  501. :
  502. <span class="phpdocumentor-element-found-in__line">63</span>
  503. </aside>
  504. <code class="phpdocumentor-code phpdocumentor-signature ">
  505. <span class="phpdocumentor-signature__visibility">public</span>
  506. <span class="phpdocumentor-signature__name">testValidateModuleValues</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&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">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  507. <div class="phpdocumentor-label-line">
  508. </div>
  509. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  510. <dl class="phpdocumentor-argument-list">
  511. <dt class="phpdocumentor-argument-list__entry">
  512. <span class="phpdocumentor-signature__argument__name">$value</span>
  513. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  514. </dt>
  515. <dd class="phpdocumentor-argument-list__definition">
  516. </dd>
  517. <dt class="phpdocumentor-argument-list__entry">
  518. <span class="phpdocumentor-signature__argument__name">$expected</span>
  519. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  520. </dt>
  521. <dd class="phpdocumentor-argument-list__definition">
  522. </dd>
  523. </dl>
  524. </article>
  525. <article
  526. class="phpdocumentor-element
  527. -method
  528. -protected
  529. "
  530. >
  531. <h4 class="phpdocumentor-element__name" id="method_createBuildDir">
  532. createBuildDir()
  533. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  534. </h4>
  535. <aside class="phpdocumentor-element-found-in">
  536. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  537. :
  538. <span class="phpdocumentor-element-found-in__line">35</span>
  539. </aside>
  540. <p class="phpdocumentor-summary">attempts to create the build dir</p>
  541. <code class="phpdocumentor-code phpdocumentor-signature ">
  542. <span class="phpdocumentor-signature__visibility">protected</span>
  543. <span class="phpdocumentor-signature__name">createBuildDir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  544. <div class="phpdocumentor-label-line">
  545. </div>
  546. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  547. <dl class="phpdocumentor-argument-list">
  548. <dt class="phpdocumentor-argument-list__entry">
  549. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  550. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  551. </dt>
  552. <dd class="phpdocumentor-argument-list__definition">
  553. </dd>
  554. </dl>
  555. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  556. Tags
  557. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  558. </h5>
  559. <dl class="phpdocumentor-tag-list">
  560. <dt class="phpdocumentor-tag-list__entry">
  561. <span class="phpdocumentor-tag__name">throws</span>
  562. </dt>
  563. <dd class="phpdocumentor-tag-list__definition">
  564. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  565. </dd>
  566. </dl>
  567. </article>
  568. <article
  569. class="phpdocumentor-element
  570. -method
  571. -protected
  572. "
  573. >
  574. <h4 class="phpdocumentor-element__name" id="method_getBuildDir">
  575. getBuildDir()
  576. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir" 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/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  580. :
  581. <span class="phpdocumentor-element-found-in__line">53</span>
  582. </aside>
  583. <p class="phpdocumentor-summary">returns the full (real) path to the given build path</p>
  584. <code class="phpdocumentor-code phpdocumentor-signature ">
  585. <span class="phpdocumentor-signature__visibility">protected</span>
  586. <span class="phpdocumentor-signature__name">getBuildDir</span><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">$subPath</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  587. <div class="phpdocumentor-label-line">
  588. </div>
  589. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  590. <dl class="phpdocumentor-argument-list">
  591. <dt class="phpdocumentor-argument-list__entry">
  592. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  593. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  594. = <span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span> </dt>
  595. <dd class="phpdocumentor-argument-list__definition">
  596. </dd>
  597. </dl>
  598. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  599. Tags
  600. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  601. </h5>
  602. <dl class="phpdocumentor-tag-list">
  603. <dt class="phpdocumentor-tag-list__entry">
  604. <span class="phpdocumentor-tag__name">throws</span>
  605. </dt>
  606. <dd class="phpdocumentor-tag-list__definition">
  607. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  608. </dd>
  609. </dl>
  610. <section>
  611. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  612. <span class="phpdocumentor-signature__response_type">string</span>
  613. </section>
  614. </article>
  615. <article
  616. class="phpdocumentor-element
  617. -method
  618. -protected
  619. "
  620. >
  621. <h4 class="phpdocumentor-element__name" id="method_getBuildFileContent">
  622. getBuildFileContent()
  623. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent" class="headerlink"><i class="fas fa-link"></i></a>
  624. </h4>
  625. <aside class="phpdocumentor-element-found-in">
  626. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  627. :
  628. <span class="phpdocumentor-element-found-in__line">85</span>
  629. </aside>
  630. <p class="phpdocumentor-summary">returns the contents of the given build file</p>
  631. <code class="phpdocumentor-code phpdocumentor-signature ">
  632. <span class="phpdocumentor-signature__visibility">protected</span>
  633. <span class="phpdocumentor-signature__name">getBuildFileContent</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$fileSubPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  634. <div class="phpdocumentor-label-line">
  635. </div>
  636. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  637. <dl class="phpdocumentor-argument-list">
  638. <dt class="phpdocumentor-argument-list__entry">
  639. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  640. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  641. </dt>
  642. <dd class="phpdocumentor-argument-list__definition">
  643. </dd>
  644. </dl>
  645. <section>
  646. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  647. <span class="phpdocumentor-signature__response_type">string</span>
  648. </section>
  649. </article>
  650. <article
  651. class="phpdocumentor-element
  652. -method
  653. -protected
  654. "
  655. >
  656. <h4 class="phpdocumentor-element__name" id="method_getBuildFilePath">
  657. getBuildFilePath()
  658. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath" class="headerlink"><i class="fas fa-link"></i></a>
  659. </h4>
  660. <aside class="phpdocumentor-element-found-in">
  661. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  662. :
  663. <span class="phpdocumentor-element-found-in__line">68</span>
  664. </aside>
  665. <p class="phpdocumentor-summary">returns the full (real) path to the given build file</p>
  666. <code class="phpdocumentor-code phpdocumentor-signature ">
  667. <span class="phpdocumentor-signature__visibility">protected</span>
  668. <span class="phpdocumentor-signature__name">getBuildFilePath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$fileSubPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  669. <div class="phpdocumentor-label-line">
  670. </div>
  671. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  672. <dl class="phpdocumentor-argument-list">
  673. <dt class="phpdocumentor-argument-list__entry">
  674. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  675. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  676. </dt>
  677. <dd class="phpdocumentor-argument-list__definition">
  678. </dd>
  679. </dl>
  680. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  681. Tags
  682. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath#tags" class="headerlink"><i class="fas fa-link"></i></a>
  683. </h5>
  684. <dl class="phpdocumentor-tag-list">
  685. <dt class="phpdocumentor-tag-list__entry">
  686. <span class="phpdocumentor-tag__name">throws</span>
  687. </dt>
  688. <dd class="phpdocumentor-tag-list__definition">
  689. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  690. </dd>
  691. </dl>
  692. <section>
  693. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  694. <span class="phpdocumentor-signature__response_type">string</span>
  695. </section>
  696. </article>
  697. <article
  698. class="phpdocumentor-element
  699. -method
  700. -protected
  701. "
  702. >
  703. <h4 class="phpdocumentor-element__name" id="method_getBuildPath">
  704. getBuildPath()
  705. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath" class="headerlink"><i class="fas fa-link"></i></a>
  706. </h4>
  707. <aside class="phpdocumentor-element-found-in">
  708. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  709. :
  710. <span class="phpdocumentor-element-found-in__line">26</span>
  711. </aside>
  712. <p class="phpdocumentor-summary">returns the full raw path to the build dir</p>
  713. <code class="phpdocumentor-code phpdocumentor-signature ">
  714. <span class="phpdocumentor-signature__visibility">protected</span>
  715. <span class="phpdocumentor-signature__name">getBuildPath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  716. <div class="phpdocumentor-label-line">
  717. </div>
  718. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  719. <dl class="phpdocumentor-argument-list">
  720. <dt class="phpdocumentor-argument-list__entry">
  721. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  722. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  723. </dt>
  724. <dd class="phpdocumentor-argument-list__definition">
  725. </dd>
  726. </dl>
  727. <section>
  728. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  729. <span class="phpdocumentor-signature__response_type">string</span>
  730. </section>
  731. </article>
  732. <article
  733. class="phpdocumentor-element
  734. -method
  735. -protected
  736. "
  737. >
  738. <h4 class="phpdocumentor-element__name" id="method_getOutputInterface">
  739. getOutputInterface()
  740. <a href="classes/Output-QRGdImageAVIFTest.html#method_getOutputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  741. </h4>
  742. <aside class="phpdocumentor-element-found-in">
  743. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRGdImageAVIFTest.php"><a href="files/tests-output-qrgdimageaviftest.html"><abbr title="tests/Output/QRGdImageAVIFTest.php">QRGdImageAVIFTest.php</abbr></a></abbr>
  744. :
  745. <span class="phpdocumentor-element-found-in__line">24</span>
  746. </aside>
  747. <code class="phpdocumentor-code phpdocumentor-signature ">
  748. <span class="phpdocumentor-signature__visibility">protected</span>
  749. <span class="phpdocumentor-signature__name">getOutputInterface</span><span>(</span><span class="phpdocumentor-signature__argument"><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 class="phpdocumentor-signature__argument"><span>, </span><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"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span></code>
  750. <div class="phpdocumentor-label-line">
  751. </div>
  752. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  753. <dl class="phpdocumentor-argument-list">
  754. <dt class="phpdocumentor-argument-list__entry">
  755. <span class="phpdocumentor-signature__argument__name">$options</span>
  756. : <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>
  757. </dt>
  758. <dd class="phpdocumentor-argument-list__definition">
  759. </dd>
  760. <dt class="phpdocumentor-argument-list__entry">
  761. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  762. : <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>
  763. </dt>
  764. <dd class="phpdocumentor-argument-list__definition">
  765. </dd>
  766. </dl>
  767. <section>
  768. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  769. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  770. </section>
  771. </article>
  772. <article
  773. class="phpdocumentor-element
  774. -method
  775. -protected
  776. "
  777. >
  778. <h4 class="phpdocumentor-element__name" id="method_setUp">
  779. setUp()
  780. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  781. </h4>
  782. <aside class="phpdocumentor-element-found-in">
  783. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  784. :
  785. <span class="phpdocumentor-element-found-in__line">38</span>
  786. </aside>
  787. <p class="phpdocumentor-summary">Attempts to create a directory under /.build and instances several required objects</p>
  788. <code class="phpdocumentor-code phpdocumentor-signature ">
  789. <span class="phpdocumentor-signature__visibility">protected</span>
  790. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  791. <div class="phpdocumentor-label-line">
  792. </div>
  793. </article>
  794. </section>
  795. <div class="phpdocumentor-modal" id="source-view">
  796. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  797. <div class="phpdocumentor-modal-container">
  798. <div class="phpdocumentor-modal-content">
  799. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Output/QRGdImageAVIFTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  800. </div>
  801. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  802. </div>
  803. </div>
  804. <script type="text/javascript">
  805. (function () {
  806. function loadExternalCodeSnippet(el, url, line) {
  807. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  808. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  809. const language = 'php';
  810. const code = document.createElement('code');
  811. code.className = 'language-' + language;
  812. pre.textContent = '';
  813. pre.setAttribute('data-line', line)
  814. code.textContent = 'Loading…';
  815. pre.appendChild(code);
  816. var xhr = new XMLHttpRequest();
  817. xhr.open('GET', src, true);
  818. xhr.onreadystatechange = function () {
  819. if (xhr.readyState !== 4) {
  820. return;
  821. }
  822. if (xhr.status < 400 && xhr.responseText) {
  823. code.textContent = xhr.responseText;
  824. Prism.highlightElement(code);
  825. return;
  826. }
  827. if (xhr.status === 404) {
  828. code.textContent = '✖ Error: File could not be found';
  829. return;
  830. }
  831. if (xhr.status >= 400) {
  832. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  833. return;
  834. }
  835. code.textContent = '✖ Error: An unknown error occurred';
  836. };
  837. xhr.send(null);
  838. });
  839. }
  840. const modalButtons = document.querySelectorAll("[data-modal]");
  841. const openedAsLocalFile = window.location.protocol === 'file:';
  842. if (modalButtons.length > 0 && openedAsLocalFile) {
  843. console.warn(
  844. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  845. 'browsers block XHR requests when a page is opened this way'
  846. );
  847. }
  848. modalButtons.forEach(function (trigger) {
  849. if (openedAsLocalFile) {
  850. trigger.setAttribute("hidden", "hidden");
  851. }
  852. trigger.addEventListener("click", function (event) {
  853. event.preventDefault();
  854. const modal = document.getElementById(trigger.dataset.modal);
  855. if (!modal) {
  856. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  857. return;
  858. }
  859. modal.classList.add("phpdocumentor-modal__open");
  860. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  861. const exits = modal.querySelectorAll("[data-exit-button]");
  862. exits.forEach(function (exit) {
  863. exit.addEventListener("click", function (event) {
  864. event.preventDefault();
  865. modal.classList.remove("phpdocumentor-modal__open");
  866. });
  867. });
  868. });
  869. });
  870. })();
  871. </script>
  872. </article>
  873. </section>
  874. <section class="phpdocumentor-on-this-page__sidebar">
  875. <section class="phpdocumentor-on-this-page__content">
  876. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  877. <ul class="phpdocumentor-list -clean">
  878. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  879. <li>
  880. <ul class="phpdocumentor-list -clean">
  881. <li><a href="classes/Output-QRGdImageAVIFTest.html#toc-constants">Constants</a></li>
  882. <li><a href="classes/Output-QRGdImageAVIFTest.html#toc-properties">Properties</a></li>
  883. <li><a href="classes/Output-QRGdImageAVIFTest.html#toc-methods">Methods</a></li>
  884. </ul>
  885. </li>
  886. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  887. <li>
  888. <ul class="phpdocumentor-list -clean">
  889. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a></li>
  890. </ul>
  891. </li>
  892. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  893. <li>
  894. <ul class="phpdocumentor-list -clean">
  895. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix<a href="classes/Output-QRGdImageAVIFTest.html"></li>
  896. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options<a href="classes/Output-QRGdImageAVIFTest.html"></li>
  897. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface<a href="classes/Output-QRGdImageAVIFTest.html"></li>
  898. </ul>
  899. </li>
  900. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  901. <li>
  902. <ul class="phpdocumentor-list -clean">
  903. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider">moduleValueProvider()</a></li>
  904. <li><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testBase64MimeType">testBase64MimeType()</a></li>
  905. <li><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_testOutputGetResource">testOutputGetResource()</a></li>
  906. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile">testRenderToCacheFile()</a></li>
  907. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException">testSaveException()</a></li>
  908. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues">testSetModuleValues()</a></li>
  909. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues">testValidateModuleValues()</a></li>
  910. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a></li>
  911. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a></li>
  912. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a></li>
  913. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a></li>
  914. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a></li>
  915. <li><a href="classes/Output-QRGdImageAVIFTest.html#method_getOutputInterface">getOutputInterface()</a></li>
  916. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a></li>
  917. </ul>
  918. </li>
  919. </ul>
  920. </section>
  921. </section>
  922. </div>
  923. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  924. <section class="phpdocumentor-search-results__dialog">
  925. <header class="phpdocumentor-search-results__header">
  926. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  927. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  928. </header>
  929. <section class="phpdocumentor-search-results__body">
  930. <ul class="phpdocumentor-search-results__entries"></ul>
  931. </section>
  932. </section>
  933. </section>
  934. </div>
  935. <a href="classes/Output-QRGdImageAVIFTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  936. </main>
  937. <script>
  938. cssVars({});
  939. </script>
  940. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  941. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  942. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  943. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  944. </body>
  945. </html>