chillerlan-QRCodeTest-Output-QRFpdfTest.html 59 KB

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