chillerlan-QRCodeTest-Output-QRGdImageAVIFTest.html 68 KB

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