chillerlan-QRCodeTest-Output-QROutputTestAbstract.html 58 KB

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