chillerlan-QRCodeTest-Output-QRFpdfTest.html 64 KB

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