chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-output.html">Output</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. QRGdImageAVIFTest
  116. <span class="phpdocumentor-element__extends">
  117. extends <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Output\QRGdImageTestAbstract">QRGdImageTestAbstract</abbr></a>
  118. </span>
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. </h2>
  126. <div class="phpdocumentor-label-line">
  127. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  128. </div>
  129. <aside class="phpdocumentor-element-found-in">
  130. <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>
  131. :
  132. <span class="phpdocumentor-element-found-in__line">20</span>
  133. </aside>
  134. <p class="phpdocumentor-summary">Tests the QRGdImage output classes</p>
  135. <section class="phpdocumentor-attributes">
  136. <h5 class="phpdocumentor-elements__header" id="attributes">
  137. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  138. </h5>
  139. <dl class="phpdocumentor-argument-list">
  140. <dt class="phpdocumentor-argument-list__entry">
  141. #[<abbr title="\PHPUnit\Framework\Attributes\RequiresFunction">RequiresFunction</abbr>]
  142. </dt>
  143. <dd class="phpdocumentor-argument-list__entry">
  144. &#039;imageavif&#039;
  145. </dd>
  146. </dl>
  147. <dl class="phpdocumentor-argument-list">
  148. <dt class="phpdocumentor-argument-list__entry">
  149. #[<abbr title="\PHPUnit\Framework\Attributes\RequiresPhpExtension">RequiresPhpExtension</abbr>]
  150. </dt>
  151. <dd class="phpdocumentor-argument-list__entry">
  152. &#039;gd&#039;
  153. </dd>
  154. </dl>
  155. </section>
  156. <h3 id="toc">
  157. Table of Contents
  158. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  159. </h3>
  160. <h4 id="toc-constants">
  161. Constants
  162. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  163. </h4>
  164. <dl class="phpdocumentor-table-of-contents">
  165. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  166. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#constant__buildDir">_buildDir</a>
  167. <span>
  168. &nbsp;= __DIR__ . &#039;/../../.build/&#039; </span>
  169. </dt>
  170. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  171. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a>
  172. <span>
  173. &nbsp;= &#039;output-test&#039; </span>
  174. </dt>
  175. </dl>
  176. <h4 id="toc-properties">
  177. Properties
  178. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  179. </h4>
  180. <dl class="phpdocumentor-table-of-contents">
  181. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  182. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix</a>
  183. <span>
  184. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  185. </dt>
  186. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  187. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options</a>
  188. <span>
  189. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  190. </dt>
  191. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  192. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface</a>
  193. <span>
  194. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  195. </dt>
  196. </dl>
  197. <h4 id="toc-methods">
  198. Methods
  199. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  200. </h4>
  201. <dl class="phpdocumentor-table-of-contents">
  202. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  203. <a class="" href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_base64MimeType">base64MimeType()</a>
  204. <span>
  205. &nbsp;: void </span>
  206. </dt>
  207. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  208. <a class="" href="classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html#method_moduleValueProvider">moduleValueProvider()</a>
  209. <span>
  210. &nbsp;: array&lt;string|int, mixed&gt; </span>
  211. </dt>
  212. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  213. <a class="" href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_outputGetResource">outputGetResource()</a>
  214. <span>
  215. &nbsp;: void </span>
  216. </dt>
  217. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  218. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_renderToCacheFile">renderToCacheFile()</a>
  219. <span>
  220. &nbsp;: void </span>
  221. </dt>
  222. <dd>coverage of the built-in output modules</dd>
  223. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  224. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_saveException">saveException()</a>
  225. <span>
  226. &nbsp;: void </span>
  227. </dt>
  228. <dd>Tests if an exception is thrown when trying to write a cache file to an invalid destination</dd>
  229. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  230. <a class="" href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_setModuleValues">setModuleValues()</a>
  231. <span>
  232. &nbsp;: void </span>
  233. </dt>
  234. <dd>covers the module values settings</dd>
  235. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  236. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_validateModuleValues">validateModuleValues()</a>
  237. <span>
  238. &nbsp;: void </span>
  239. </dt>
  240. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  241. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a>
  242. <span>
  243. &nbsp;: void </span>
  244. </dt>
  245. <dd>attempts to create the build dir</dd>
  246. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  247. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a>
  248. <span>
  249. &nbsp;: string </span>
  250. </dt>
  251. <dd>returns the full (real) path to the given build path</dd>
  252. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  253. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a>
  254. <span>
  255. &nbsp;: string </span>
  256. </dt>
  257. <dd>returns the contents of the given build file</dd>
  258. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  259. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a>
  260. <span>
  261. &nbsp;: string </span>
  262. </dt>
  263. <dd>returns the full (real) path to the given build file</dd>
  264. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  265. <a class="" href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a>
  266. <span>
  267. &nbsp;: string </span>
  268. </dt>
  269. <dd>returns the full raw path to the build dir</dd>
  270. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  271. <a class="" href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#method_getOutputInterface">getOutputInterface()</a>
  272. <span>
  273. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  274. </dt>
  275. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  276. <a class="" href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a>
  277. <span>
  278. &nbsp;: void </span>
  279. </dt>
  280. <dd>Attempts to create a directory under /.build and instances several required objects</dd>
  281. </dl>
  282. <section class="phpdocumentor-constants">
  283. <h3 class="phpdocumentor-elements__header" id="constants">
  284. Constants
  285. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  286. </h3>
  287. <article class="phpdocumentor-element -constant -protected ">
  288. <h4 class="phpdocumentor-element__name" id="constant__buildDir">
  289. _buildDir
  290. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#constant__buildDir" class="headerlink"><i class="fas fa-link"></i></a>
  291. </h4>
  292. <aside class="phpdocumentor-element-found-in">
  293. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  294. :
  295. <span class="phpdocumentor-element-found-in__line">22</span>
  296. </aside>
  297. <code class="phpdocumentor-signature phpdocumentor-code ">
  298. <span class="phpdocumentor-signature__visibility">protected</span>
  299. <span class="phpdocumentor-signature__type">mixed</span>
  300. <span class="phpdocumentor-signature__name">_buildDir</span>
  301. = <span class="phpdocumentor-signature__default-value">__DIR__ . &#039;/../../.build/&#039;</span>
  302. </code>
  303. </article>
  304. <article class="phpdocumentor-element -constant -protected ">
  305. <h4 class="phpdocumentor-element__name" id="constant_buildDir">
  306. buildDir
  307. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir" class="headerlink"><i class="fas fa-link"></i></a>
  308. </h4>
  309. <aside class="phpdocumentor-element-found-in">
  310. <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>
  311. :
  312. <span class="phpdocumentor-element-found-in__line">34</span>
  313. </aside>
  314. <code class="phpdocumentor-signature phpdocumentor-code ">
  315. <span class="phpdocumentor-signature__visibility">protected</span>
  316. <span class="phpdocumentor-signature__type">mixed</span>
  317. <span class="phpdocumentor-signature__name">buildDir</span>
  318. = <span class="phpdocumentor-signature__default-value">&#039;output-test&#039;</span>
  319. </code>
  320. </article>
  321. </section>
  322. <section class="phpdocumentor-properties">
  323. <h3 class="phpdocumentor-elements__header" id="properties">
  324. Properties
  325. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  326. </h3>
  327. <article
  328. class="
  329. phpdocumentor-element
  330. -property
  331. -protected
  332. "
  333. >
  334. <h4 class="phpdocumentor-element__name" id="property_matrix">
  335. $matrix
  336. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  337. <span class="phpdocumentor-element__modifiers">
  338. </span>
  339. </h4>
  340. <aside class="phpdocumentor-element-found-in">
  341. <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>
  342. :
  343. <span class="phpdocumentor-element-found-in__line">32</span>
  344. </aside>
  345. <code class="phpdocumentor-code phpdocumentor-signature ">
  346. <span class="phpdocumentor-signature__visibility">protected</span>
  347. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  348. <span class="phpdocumentor-signature__name">$matrix</span>
  349. </code>
  350. </article>
  351. <article
  352. class="
  353. phpdocumentor-element
  354. -property
  355. -protected
  356. "
  357. >
  358. <h4 class="phpdocumentor-element__name" id="property_options">
  359. $options
  360. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  361. <span class="phpdocumentor-element__modifiers">
  362. </span>
  363. </h4>
  364. <aside class="phpdocumentor-element-found-in">
  365. <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>
  366. :
  367. <span class="phpdocumentor-element-found-in__line">30</span>
  368. </aside>
  369. <code class="phpdocumentor-code phpdocumentor-signature ">
  370. <span class="phpdocumentor-signature__visibility">protected</span>
  371. <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>
  372. <span class="phpdocumentor-signature__name">$options</span>
  373. </code>
  374. </article>
  375. <article
  376. class="
  377. phpdocumentor-element
  378. -property
  379. -protected
  380. "
  381. >
  382. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  383. $outputInterface
  384. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  385. <span class="phpdocumentor-element__modifiers">
  386. </span>
  387. </h4>
  388. <aside class="phpdocumentor-element-found-in">
  389. <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>
  390. :
  391. <span class="phpdocumentor-element-found-in__line">31</span>
  392. </aside>
  393. <code class="phpdocumentor-code phpdocumentor-signature ">
  394. <span class="phpdocumentor-signature__visibility">protected</span>
  395. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  396. <span class="phpdocumentor-signature__name">$outputInterface</span>
  397. </code>
  398. </article>
  399. </section>
  400. <section class="phpdocumentor-methods">
  401. <h3 class="phpdocumentor-elements__header" id="methods">
  402. Methods
  403. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  404. </h3>
  405. <article
  406. class="phpdocumentor-element
  407. -method
  408. -public
  409. "
  410. >
  411. <h4 class="phpdocumentor-element__name" id="method_base64MimeType">
  412. base64MimeType()
  413. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_base64MimeType" class="headerlink"><i class="fas fa-link"></i></a>
  414. </h4>
  415. <aside class="phpdocumentor-element-found-in">
  416. <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>
  417. :
  418. <span class="phpdocumentor-element-found-in__line">52</span>
  419. </aside>
  420. <code class="phpdocumentor-code phpdocumentor-signature ">
  421. <span class="phpdocumentor-signature__visibility">public</span>
  422. <span class="phpdocumentor-signature__name">base64MimeType</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  423. <div class="phpdocumentor-label-line">
  424. </div>
  425. <section class="phpdocumentor-attributes">
  426. <h5 class="phpdocumentor-elements__header" id="attributes">
  427. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_base64MimeType#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  428. </h5>
  429. <dl class="phpdocumentor-argument-list">
  430. <dt class="phpdocumentor-argument-list__entry">
  431. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  432. </dt>
  433. </dl>
  434. </section>
  435. </article>
  436. <article
  437. class="phpdocumentor-element
  438. -method
  439. -public
  440. -static "
  441. >
  442. <h4 class="phpdocumentor-element__name" id="method_moduleValueProvider">
  443. moduleValueProvider()
  444. <a href="classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html#method_moduleValueProvider" class="headerlink"><i class="fas fa-link"></i></a>
  445. </h4>
  446. <aside class="phpdocumentor-element-found-in">
  447. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/RGBArrayModuleValueProviderTrait.php"><a href="files/tests-traits-rgbarraymodulevalueprovidertrait.html"><abbr title="tests/Traits/RGBArrayModuleValueProviderTrait.php">RGBArrayModuleValueProviderTrait.php</abbr></a></abbr>
  448. :
  449. <span class="phpdocumentor-element-found-in__line">21</span>
  450. </aside>
  451. <code class="phpdocumentor-code phpdocumentor-signature ">
  452. <span class="phpdocumentor-signature__visibility">public</span>
  453. <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>
  454. <div class="phpdocumentor-label-line">
  455. </div>
  456. <section>
  457. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  458. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  459. </section>
  460. </article>
  461. <article
  462. class="phpdocumentor-element
  463. -method
  464. -public
  465. "
  466. >
  467. <h4 class="phpdocumentor-element__name" id="method_outputGetResource">
  468. outputGetResource()
  469. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_outputGetResource" class="headerlink"><i class="fas fa-link"></i></a>
  470. </h4>
  471. <aside class="phpdocumentor-element-found-in">
  472. <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>
  473. :
  474. <span class="phpdocumentor-element-found-in__line">44</span>
  475. </aside>
  476. <code class="phpdocumentor-code phpdocumentor-signature ">
  477. <span class="phpdocumentor-signature__visibility">public</span>
  478. <span class="phpdocumentor-signature__name">outputGetResource</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  479. <div class="phpdocumentor-label-line">
  480. </div>
  481. <section class="phpdocumentor-attributes">
  482. <h5 class="phpdocumentor-elements__header" id="attributes">
  483. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_outputGetResource#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  484. </h5>
  485. <dl class="phpdocumentor-argument-list">
  486. <dt class="phpdocumentor-argument-list__entry">
  487. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  488. </dt>
  489. </dl>
  490. </section>
  491. </article>
  492. <article
  493. class="phpdocumentor-element
  494. -method
  495. -public
  496. "
  497. >
  498. <h4 class="phpdocumentor-element__name" id="method_renderToCacheFile">
  499. renderToCacheFile()
  500. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_renderToCacheFile" class="headerlink"><i class="fas fa-link"></i></a>
  501. </h4>
  502. <aside class="phpdocumentor-element-found-in">
  503. <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>
  504. :
  505. <span class="phpdocumentor-element-found-in__line">87</span>
  506. </aside>
  507. <p class="phpdocumentor-summary">coverage of the built-in output modules</p>
  508. <code class="phpdocumentor-code phpdocumentor-signature ">
  509. <span class="phpdocumentor-signature__visibility">public</span>
  510. <span class="phpdocumentor-signature__name">renderToCacheFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  511. <div class="phpdocumentor-label-line">
  512. </div>
  513. <section class="phpdocumentor-attributes">
  514. <h5 class="phpdocumentor-elements__header" id="attributes">
  515. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_renderToCacheFile#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h5>
  517. <dl class="phpdocumentor-argument-list">
  518. <dt class="phpdocumentor-argument-list__entry">
  519. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  520. </dt>
  521. </dl>
  522. </section>
  523. </article>
  524. <article
  525. class="phpdocumentor-element
  526. -method
  527. -public
  528. "
  529. >
  530. <h4 class="phpdocumentor-element__name" id="method_saveException">
  531. saveException()
  532. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_saveException" class="headerlink"><i class="fas fa-link"></i></a>
  533. </h4>
  534. <aside class="phpdocumentor-element-found-in">
  535. <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>
  536. :
  537. <span class="phpdocumentor-element-found-in__line">55</span>
  538. </aside>
  539. <p class="phpdocumentor-summary">Tests if an exception is thrown when trying to write a cache file to an invalid destination</p>
  540. <code class="phpdocumentor-code phpdocumentor-signature ">
  541. <span class="phpdocumentor-signature__visibility">public</span>
  542. <span class="phpdocumentor-signature__name">saveException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  543. <div class="phpdocumentor-label-line">
  544. </div>
  545. <section class="phpdocumentor-attributes">
  546. <h5 class="phpdocumentor-elements__header" id="attributes">
  547. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_saveException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  548. </h5>
  549. <dl class="phpdocumentor-argument-list">
  550. <dt class="phpdocumentor-argument-list__entry">
  551. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  552. </dt>
  553. </dl>
  554. </section>
  555. </article>
  556. <article
  557. class="phpdocumentor-element
  558. -method
  559. -public
  560. "
  561. >
  562. <h4 class="phpdocumentor-element__name" id="method_setModuleValues">
  563. setModuleValues()
  564. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_setModuleValues" 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/Output/QRGdImageTestAbstract.php"><a href="files/tests-output-qrgdimagetestabstract.html"><abbr title="tests/Output/QRGdImageTestAbstract.php">QRGdImageTestAbstract.php</abbr></a></abbr>
  568. :
  569. <span class="phpdocumentor-element-found-in__line">28</span>
  570. </aside>
  571. <p class="phpdocumentor-summary">covers the module values settings</p>
  572. <code class="phpdocumentor-code phpdocumentor-signature ">
  573. <span class="phpdocumentor-signature__visibility">public</span>
  574. <span class="phpdocumentor-signature__name">setModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  575. <div class="phpdocumentor-label-line">
  576. </div>
  577. <section class="phpdocumentor-attributes">
  578. <h5 class="phpdocumentor-elements__header" id="attributes">
  579. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_setModuleValues#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  580. </h5>
  581. <dl class="phpdocumentor-argument-list">
  582. <dt class="phpdocumentor-argument-list__entry">
  583. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  584. </dt>
  585. </dl>
  586. </section>
  587. </article>
  588. <article
  589. class="phpdocumentor-element
  590. -method
  591. -public
  592. "
  593. >
  594. <h4 class="phpdocumentor-element__name" id="method_validateModuleValues">
  595. validateModuleValues()
  596. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_validateModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  597. </h4>
  598. <aside class="phpdocumentor-element-found-in">
  599. <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>
  600. :
  601. <span class="phpdocumentor-element-found-in__line">68</span>
  602. </aside>
  603. <code class="phpdocumentor-code phpdocumentor-signature ">
  604. <span class="phpdocumentor-signature__visibility">public</span>
  605. <span class="phpdocumentor-signature__name">validateModuleValues</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>
  606. <div class="phpdocumentor-label-line">
  607. </div>
  608. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  609. <dl class="phpdocumentor-argument-list">
  610. <dt class="phpdocumentor-argument-list__entry">
  611. <span class="phpdocumentor-signature__argument__name">$value</span>
  612. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  613. </dt>
  614. <dd class="phpdocumentor-argument-list__definition">
  615. </dd>
  616. <dt class="phpdocumentor-argument-list__entry">
  617. <span class="phpdocumentor-signature__argument__name">$expected</span>
  618. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  619. </dt>
  620. <dd class="phpdocumentor-argument-list__definition">
  621. </dd>
  622. </dl>
  623. <section class="phpdocumentor-attributes">
  624. <h5 class="phpdocumentor-elements__header" id="attributes">
  625. Attributes <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_validateModuleValues#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  626. </h5>
  627. <dl class="phpdocumentor-argument-list">
  628. <dt class="phpdocumentor-argument-list__entry">
  629. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  630. </dt>
  631. <dd class="phpdocumentor-argument-list__entry">
  632. &#039;moduleValueProvider&#039;
  633. </dd>
  634. </dl>
  635. <dl class="phpdocumentor-argument-list">
  636. <dt class="phpdocumentor-argument-list__entry">
  637. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  638. </dt>
  639. </dl>
  640. </section>
  641. </article>
  642. <article
  643. class="phpdocumentor-element
  644. -method
  645. -protected
  646. "
  647. >
  648. <h4 class="phpdocumentor-element__name" id="method_createBuildDir">
  649. createBuildDir()
  650. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_createBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  651. </h4>
  652. <aside class="phpdocumentor-element-found-in">
  653. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  654. :
  655. <span class="phpdocumentor-element-found-in__line">36</span>
  656. </aside>
  657. <p class="phpdocumentor-summary">attempts to create the build dir</p>
  658. <code class="phpdocumentor-code phpdocumentor-signature ">
  659. <span class="phpdocumentor-signature__visibility">protected</span>
  660. <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>
  661. <div class="phpdocumentor-label-line">
  662. </div>
  663. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  664. <dl class="phpdocumentor-argument-list">
  665. <dt class="phpdocumentor-argument-list__entry">
  666. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  667. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  668. </dt>
  669. <dd class="phpdocumentor-argument-list__definition">
  670. </dd>
  671. </dl>
  672. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  673. Tags
  674. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_createBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  675. </h5>
  676. <dl class="phpdocumentor-tag-list">
  677. <dt class="phpdocumentor-tag-list__entry">
  678. <span class="phpdocumentor-tag__name">throws</span>
  679. </dt>
  680. <dd class="phpdocumentor-tag-list__definition">
  681. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  682. </dd>
  683. </dl>
  684. </article>
  685. <article
  686. class="phpdocumentor-element
  687. -method
  688. -protected
  689. "
  690. >
  691. <h4 class="phpdocumentor-element__name" id="method_getBuildDir">
  692. getBuildDir()
  693. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  694. </h4>
  695. <aside class="phpdocumentor-element-found-in">
  696. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  697. :
  698. <span class="phpdocumentor-element-found-in__line">54</span>
  699. </aside>
  700. <p class="phpdocumentor-summary">returns the full (real) path to the given build path</p>
  701. <code class="phpdocumentor-code phpdocumentor-signature ">
  702. <span class="phpdocumentor-signature__visibility">protected</span>
  703. <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>
  704. <div class="phpdocumentor-label-line">
  705. </div>
  706. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  707. <dl class="phpdocumentor-argument-list">
  708. <dt class="phpdocumentor-argument-list__entry">
  709. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  710. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  711. = <span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span> </dt>
  712. <dd class="phpdocumentor-argument-list__definition">
  713. </dd>
  714. </dl>
  715. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  716. Tags
  717. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  718. </h5>
  719. <dl class="phpdocumentor-tag-list">
  720. <dt class="phpdocumentor-tag-list__entry">
  721. <span class="phpdocumentor-tag__name">throws</span>
  722. </dt>
  723. <dd class="phpdocumentor-tag-list__definition">
  724. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  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_getBuildFileContent">
  739. getBuildFileContent()
  740. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFileContent" 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/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  744. :
  745. <span class="phpdocumentor-element-found-in__line">88</span>
  746. </aside>
  747. <p class="phpdocumentor-summary">returns the contents of the given build file</p>
  748. <code class="phpdocumentor-code phpdocumentor-signature ">
  749. <span class="phpdocumentor-signature__visibility">protected</span>
  750. <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>
  751. <div class="phpdocumentor-label-line">
  752. </div>
  753. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  754. <dl class="phpdocumentor-argument-list">
  755. <dt class="phpdocumentor-argument-list__entry">
  756. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  757. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  758. </dt>
  759. <dd class="phpdocumentor-argument-list__definition">
  760. </dd>
  761. </dl>
  762. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  763. Tags
  764. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFileContent#tags" class="headerlink"><i class="fas fa-link"></i></a>
  765. </h5>
  766. <dl class="phpdocumentor-tag-list">
  767. <dt class="phpdocumentor-tag-list__entry">
  768. <span class="phpdocumentor-tag__name">throws</span>
  769. </dt>
  770. <dd class="phpdocumentor-tag-list__definition">
  771. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  772. </dd>
  773. </dl>
  774. <section>
  775. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  776. <span class="phpdocumentor-signature__response_type">string</span>
  777. </section>
  778. </article>
  779. <article
  780. class="phpdocumentor-element
  781. -method
  782. -protected
  783. "
  784. >
  785. <h4 class="phpdocumentor-element__name" id="method_getBuildFilePath">
  786. getBuildFilePath()
  787. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFilePath" class="headerlink"><i class="fas fa-link"></i></a>
  788. </h4>
  789. <aside class="phpdocumentor-element-found-in">
  790. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  791. :
  792. <span class="phpdocumentor-element-found-in__line">69</span>
  793. </aside>
  794. <p class="phpdocumentor-summary">returns the full (real) path to the given build file</p>
  795. <code class="phpdocumentor-code phpdocumentor-signature ">
  796. <span class="phpdocumentor-signature__visibility">protected</span>
  797. <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>
  798. <div class="phpdocumentor-label-line">
  799. </div>
  800. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  801. <dl class="phpdocumentor-argument-list">
  802. <dt class="phpdocumentor-argument-list__entry">
  803. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  804. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  805. </dt>
  806. <dd class="phpdocumentor-argument-list__definition">
  807. </dd>
  808. </dl>
  809. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  810. Tags
  811. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFilePath#tags" class="headerlink"><i class="fas fa-link"></i></a>
  812. </h5>
  813. <dl class="phpdocumentor-tag-list">
  814. <dt class="phpdocumentor-tag-list__entry">
  815. <span class="phpdocumentor-tag__name">throws</span>
  816. </dt>
  817. <dd class="phpdocumentor-tag-list__definition">
  818. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  819. </dd>
  820. </dl>
  821. <section>
  822. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  823. <span class="phpdocumentor-signature__response_type">string</span>
  824. </section>
  825. </article>
  826. <article
  827. class="phpdocumentor-element
  828. -method
  829. -protected
  830. "
  831. >
  832. <h4 class="phpdocumentor-element__name" id="method_getBuildPath">
  833. getBuildPath()
  834. <a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildPath" class="headerlink"><i class="fas fa-link"></i></a>
  835. </h4>
  836. <aside class="phpdocumentor-element-found-in">
  837. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/BuildDirTrait.php"><a href="files/tests-traits-builddirtrait.html"><abbr title="tests/Traits/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  838. :
  839. <span class="phpdocumentor-element-found-in__line">27</span>
  840. </aside>
  841. <p class="phpdocumentor-summary">returns the full raw path to the build dir</p>
  842. <code class="phpdocumentor-code phpdocumentor-signature ">
  843. <span class="phpdocumentor-signature__visibility">protected</span>
  844. <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>
  845. <div class="phpdocumentor-label-line">
  846. </div>
  847. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  848. <dl class="phpdocumentor-argument-list">
  849. <dt class="phpdocumentor-argument-list__entry">
  850. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  851. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  852. </dt>
  853. <dd class="phpdocumentor-argument-list__definition">
  854. </dd>
  855. </dl>
  856. <section>
  857. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  858. <span class="phpdocumentor-signature__response_type">string</span>
  859. </section>
  860. </article>
  861. <article
  862. class="phpdocumentor-element
  863. -method
  864. -protected
  865. "
  866. >
  867. <h4 class="phpdocumentor-element__name" id="method_getOutputInterface">
  868. getOutputInterface()
  869. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#method_getOutputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  870. </h4>
  871. <aside class="phpdocumentor-element-found-in">
  872. <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>
  873. :
  874. <span class="phpdocumentor-element-found-in__line">24</span>
  875. </aside>
  876. <code class="phpdocumentor-code phpdocumentor-signature ">
  877. <span class="phpdocumentor-signature__visibility">protected</span>
  878. <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>
  879. <div class="phpdocumentor-label-line">
  880. </div>
  881. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  882. <dl class="phpdocumentor-argument-list">
  883. <dt class="phpdocumentor-argument-list__entry">
  884. <span class="phpdocumentor-signature__argument__name">$options</span>
  885. : <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>
  886. </dt>
  887. <dd class="phpdocumentor-argument-list__definition">
  888. </dd>
  889. <dt class="phpdocumentor-argument-list__entry">
  890. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  891. : <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>
  892. </dt>
  893. <dd class="phpdocumentor-argument-list__definition">
  894. </dd>
  895. </dl>
  896. <section>
  897. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  898. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  899. </section>
  900. </article>
  901. <article
  902. class="phpdocumentor-element
  903. -method
  904. -protected
  905. "
  906. >
  907. <h4 class="phpdocumentor-element__name" id="method_setUp">
  908. setUp()
  909. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  910. </h4>
  911. <aside class="phpdocumentor-element-found-in">
  912. <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>
  913. :
  914. <span class="phpdocumentor-element-found-in__line">39</span>
  915. </aside>
  916. <p class="phpdocumentor-summary">Attempts to create a directory under /.build and instances several required objects</p>
  917. <code class="phpdocumentor-code phpdocumentor-signature ">
  918. <span class="phpdocumentor-signature__visibility">protected</span>
  919. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  920. <div class="phpdocumentor-label-line">
  921. </div>
  922. </article>
  923. </section>
  924. <div class="phpdocumentor-modal" id="source-view">
  925. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  926. <div class="phpdocumentor-modal-container">
  927. <div class="phpdocumentor-modal-content">
  928. <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>
  929. </div>
  930. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  931. </div>
  932. </div>
  933. <script type="text/javascript">
  934. (function () {
  935. function loadExternalCodeSnippet(el, url, line) {
  936. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  937. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  938. const language = 'php';
  939. const code = document.createElement('code');
  940. code.className = 'language-' + language;
  941. pre.textContent = '';
  942. pre.setAttribute('data-line', line)
  943. code.textContent = 'Loading…';
  944. pre.appendChild(code);
  945. var xhr = new XMLHttpRequest();
  946. xhr.open('GET', src, true);
  947. xhr.onreadystatechange = function () {
  948. if (xhr.readyState !== 4) {
  949. return;
  950. }
  951. if (xhr.status < 400 && xhr.responseText) {
  952. code.textContent = xhr.responseText;
  953. Prism.highlightElement(code);
  954. d=document.getElementsByClassName("line-numbers");
  955. d[0].scrollTop = d[0].children[1].offsetTop;
  956. return;
  957. }
  958. if (xhr.status === 404) {
  959. code.textContent = '✖ Error: File could not be found';
  960. return;
  961. }
  962. if (xhr.status >= 400) {
  963. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  964. return;
  965. }
  966. code.textContent = '✖ Error: An unknown error occurred';
  967. };
  968. xhr.send(null);
  969. });
  970. }
  971. const modalButtons = document.querySelectorAll("[data-modal]");
  972. const openedAsLocalFile = window.location.protocol === 'file:';
  973. if (modalButtons.length > 0 && openedAsLocalFile) {
  974. console.warn(
  975. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  976. 'browsers block XHR requests when a page is opened this way'
  977. );
  978. }
  979. modalButtons.forEach(function (trigger) {
  980. if (openedAsLocalFile) {
  981. trigger.setAttribute("hidden", "hidden");
  982. }
  983. trigger.addEventListener("click", function (event) {
  984. event.preventDefault();
  985. const modal = document.getElementById(trigger.dataset.modal);
  986. if (!modal) {
  987. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  988. return;
  989. }
  990. modal.classList.add("phpdocumentor-modal__open");
  991. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  992. const exits = modal.querySelectorAll("[data-exit-button]");
  993. exits.forEach(function (exit) {
  994. exit.addEventListener("click", function (event) {
  995. event.preventDefault();
  996. modal.classList.remove("phpdocumentor-modal__open");
  997. });
  998. });
  999. });
  1000. });
  1001. })();
  1002. </script>
  1003. </article>
  1004. </section>
  1005. <section class="phpdocumentor-on-this-page__sidebar">
  1006. <section class="phpdocumentor-on-this-page__content">
  1007. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1008. <ul class="phpdocumentor-list -clean">
  1009. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1010. <li>
  1011. <ul class="phpdocumentor-list -clean">
  1012. <li><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-constants">Constants</a></li>
  1013. <li><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-properties">Properties</a></li>
  1014. <li><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#toc-methods">Methods</a></li>
  1015. </ul>
  1016. </li>
  1017. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1018. <li>
  1019. <ul class="phpdocumentor-list -clean">
  1020. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#constant__buildDir">_buildDir</a></li>
  1021. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a></li>
  1022. </ul>
  1023. </li>
  1024. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1025. <li>
  1026. <ul class="phpdocumentor-list -clean">
  1027. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix</a></li>
  1028. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options</a></li>
  1029. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface</a></li>
  1030. </ul>
  1031. </li>
  1032. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1033. <li>
  1034. <ul class="phpdocumentor-list -clean">
  1035. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_base64MimeType">base64MimeType()</a></li>
  1036. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html#method_moduleValueProvider">moduleValueProvider()</a></li>
  1037. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_outputGetResource">outputGetResource()</a></li>
  1038. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_renderToCacheFile">renderToCacheFile()</a></li>
  1039. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_saveException">saveException()</a></li>
  1040. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html#method_setModuleValues">setModuleValues()</a></li>
  1041. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_validateModuleValues">validateModuleValues()</a></li>
  1042. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a></li>
  1043. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a></li>
  1044. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a></li>
  1045. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a></li>
  1046. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a></li>
  1047. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#method_getOutputInterface">getOutputInterface()</a></li>
  1048. <li class=""><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a></li>
  1049. </ul>
  1050. </li>
  1051. </ul>
  1052. </section>
  1053. </section>
  1054. </div>
  1055. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1056. <section class="phpdocumentor-search-results__dialog">
  1057. <header class="phpdocumentor-search-results__header">
  1058. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1059. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1060. </header>
  1061. <section class="phpdocumentor-search-results__body">
  1062. <ul class="phpdocumentor-search-results__entries"></ul>
  1063. </section>
  1064. </section>
  1065. </section>
  1066. </div>
  1067. <a href="classes/chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1068. </main>
  1069. <script>
  1070. cssVars({});
  1071. </script>
  1072. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1073. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1074. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1075. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1076. </body>
  1077. </html>