chillerlan-QRCodeTest-Output-QRInterventionImageTest.html 65 KB

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