chillerlan-QRCodeTest-Output-QRInterventionImageTest.html 65 KB

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