chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html 59 KB

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