chillerlan-QRCodeTest-Output-QRImagickTest.html 60 KB

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