chillerlan-QRCodeTest-Output-QRImagickTest.html 65 KB

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