chillerlan-QRCodeTest-Output-QROutputTestAbstract.html 61 KB

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