chillerlan-QRCodeTest-Output-QRMarkupSVGTest.html 56 KB

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