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