chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html 59 KB

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