Output-QRGdImageAVIFTest.html 62 KB

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