chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html 60 KB

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