chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html 60 KB

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