chillerlan-QRCodeTest-Output-QRStringTextTest.html 63 KB

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