chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html 59 KB

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