chillerlan-QRCodeTest-Output-QRMarkupHTMLTest.html 58 KB

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