chillerlan-QRCodeTest-Output-QRInterventionImageTest.html 62 KB

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