chillerlan-QRCodeTest-Output-QRFpdfTest.html 59 KB

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