chillerlan-QRCodeTest-Output-QRInterventionImageTest.html 60 KB

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