chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html 61 KB

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