chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html 64 KB

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