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