chillerlan-QRCodeTest-Output-QRStringTextTest.html 57 KB

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