chillerlan-QRCode-Decoder-Decoder.html 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990
  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-qrcode.html">QRCode</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-decoder.html">Decoder</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. Decoder
  116. <div class="phpdocumentor-element__package">
  117. in package
  118. <ul class="phpdocumentor-breadcrumbs">
  119. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  120. </ul>
  121. </div>
  122. </h2>
  123. <div class="phpdocumentor-label-line">
  124. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  125. </div>
  126. <aside class="phpdocumentor-element-found-in">
  127. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  128. :
  129. <span class="phpdocumentor-element-found-in__line">29</span>
  130. </aside>
  131. <p class="phpdocumentor-summary">The main class which implements QR Code decoding -- as opposed to locating and extracting
  132. the QR Code from an image.</p>
  133. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  134. Tags
  135. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
  136. </h5>
  137. <dl class="phpdocumentor-tag-list">
  138. <dt class="phpdocumentor-tag-list__entry">
  139. <span class="phpdocumentor-tag__name">author</span>
  140. </dt>
  141. <dd class="phpdocumentor-tag-list__definition">
  142. <section class="phpdocumentor-description"><p>Sean Owen</p>
  143. </section>
  144. </dd>
  145. </dl>
  146. <h3 id="toc">
  147. Table of Contents
  148. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  149. </h3>
  150. <h4 id="toc-properties">
  151. Properties
  152. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  153. </h4>
  154. <dl class="phpdocumentor-table-of-contents">
  155. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  156. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_bitBuffer">$bitBuffer</a>
  157. <span>
  158. &nbsp;: <a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a> </span>
  159. </dt>
  160. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  161. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_detector">$detector</a>
  162. <span>
  163. &nbsp;: <a href="classes/chillerlan-QRCode-Detector-Detector.html"><abbr title="\chillerlan\QRCode\Detector\Detector">Detector</abbr></a> </span>
  164. </dt>
  165. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  166. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_eccLevel">$eccLevel</a>
  167. <span>
  168. &nbsp;: <a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null </span>
  169. </dt>
  170. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  171. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_maskPattern">$maskPattern</a>
  172. <span>
  173. &nbsp;: <a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null </span>
  174. </dt>
  175. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  176. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_options">$options</a>
  177. <span>
  178. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  179. </dt>
  180. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  181. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_version">$version</a>
  182. <span>
  183. &nbsp;: <a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null </span>
  184. </dt>
  185. </dl>
  186. <h4 id="toc-methods">
  187. Methods
  188. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  189. </h4>
  190. <dl class="phpdocumentor-table-of-contents">
  191. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  192. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#method___construct">__construct()</a>
  193. <span>
  194. &nbsp;: mixed </span>
  195. </dt>
  196. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  197. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decode">decode()</a>
  198. <span>
  199. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  200. </dt>
  201. <dd>Decodes a QR Code represented as a BitMatrix.</dd>
  202. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  203. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeAlphanumSegment">decodeAlphanumSegment()</a>
  204. <span>
  205. &nbsp;: string </span>
  206. </dt>
  207. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  208. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeBitStream">decodeBitStream()</a>
  209. <span>
  210. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  211. </dt>
  212. <dd>Decode the contents of that stream of bytes</dd>
  213. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  214. <a class="" href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeMatrix">decodeMatrix()</a>
  215. <span>
  216. &nbsp;: <a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a> </span>
  217. </dt>
  218. </dl>
  219. <section class="phpdocumentor-properties">
  220. <h3 class="phpdocumentor-elements__header" id="properties">
  221. Properties
  222. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  223. </h3>
  224. <article
  225. class="
  226. phpdocumentor-element
  227. -property
  228. -private
  229. "
  230. >
  231. <h4 class="phpdocumentor-element__name" id="property_bitBuffer">
  232. $bitBuffer
  233. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_bitBuffer" class="headerlink"><i class="fas fa-link"></i></a>
  234. <span class="phpdocumentor-element__modifiers">
  235. </span>
  236. </h4>
  237. <aside class="phpdocumentor-element-found-in">
  238. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  239. :
  240. <span class="phpdocumentor-element-found-in__line">36</span>
  241. </aside>
  242. <code class="phpdocumentor-code phpdocumentor-signature ">
  243. <span class="phpdocumentor-signature__visibility">private</span>
  244. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  245. <span class="phpdocumentor-signature__name">$bitBuffer</span>
  246. </code>
  247. </article>
  248. <article
  249. class="
  250. phpdocumentor-element
  251. -property
  252. -private
  253. "
  254. >
  255. <h4 class="phpdocumentor-element__name" id="property_detector">
  256. $detector
  257. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_detector" class="headerlink"><i class="fas fa-link"></i></a>
  258. <span class="phpdocumentor-element__modifiers">
  259. </span>
  260. </h4>
  261. <aside class="phpdocumentor-element-found-in">
  262. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  263. :
  264. <span class="phpdocumentor-element-found-in__line">37</span>
  265. </aside>
  266. <code class="phpdocumentor-code phpdocumentor-signature ">
  267. <span class="phpdocumentor-signature__visibility">private</span>
  268. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Detector-Detector.html"><abbr title="\chillerlan\QRCode\Detector\Detector">Detector</abbr></a></span>
  269. <span class="phpdocumentor-signature__name">$detector</span>
  270. </code>
  271. </article>
  272. <article
  273. class="
  274. phpdocumentor-element
  275. -property
  276. -private
  277. "
  278. >
  279. <h4 class="phpdocumentor-element__name" id="property_eccLevel">
  280. $eccLevel
  281. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_eccLevel" class="headerlink"><i class="fas fa-link"></i></a>
  282. <span class="phpdocumentor-element__modifiers">
  283. </span>
  284. </h4>
  285. <aside class="phpdocumentor-element-found-in">
  286. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  287. :
  288. <span class="phpdocumentor-element-found-in__line">34</span>
  289. </aside>
  290. <code class="phpdocumentor-code phpdocumentor-signature ">
  291. <span class="phpdocumentor-signature__visibility">private</span>
  292. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>|null</span>
  293. <span class="phpdocumentor-signature__name">$eccLevel</span>
  294. = <span class="phpdocumentor-signature__default-value">null</span></code>
  295. </article>
  296. <article
  297. class="
  298. phpdocumentor-element
  299. -property
  300. -private
  301. "
  302. >
  303. <h4 class="phpdocumentor-element__name" id="property_maskPattern">
  304. $maskPattern
  305. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_maskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  306. <span class="phpdocumentor-element__modifiers">
  307. </span>
  308. </h4>
  309. <aside class="phpdocumentor-element-found-in">
  310. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  311. :
  312. <span class="phpdocumentor-element-found-in__line">35</span>
  313. </aside>
  314. <code class="phpdocumentor-code phpdocumentor-signature ">
  315. <span class="phpdocumentor-signature__visibility">private</span>
  316. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-MaskPattern.html"><abbr title="\chillerlan\QRCode\Common\MaskPattern">MaskPattern</abbr></a>|null</span>
  317. <span class="phpdocumentor-signature__name">$maskPattern</span>
  318. = <span class="phpdocumentor-signature__default-value">null</span></code>
  319. </article>
  320. <article
  321. class="
  322. phpdocumentor-element
  323. -property
  324. -private
  325. "
  326. >
  327. <h4 class="phpdocumentor-element__name" id="property_options">
  328. $options
  329. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  330. <span class="phpdocumentor-element__modifiers">
  331. </span>
  332. </h4>
  333. <aside class="phpdocumentor-element-found-in">
  334. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  335. :
  336. <span class="phpdocumentor-element-found-in__line">32</span>
  337. </aside>
  338. <code class="phpdocumentor-code phpdocumentor-signature ">
  339. <span class="phpdocumentor-signature__visibility">private</span>
  340. <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>
  341. <span class="phpdocumentor-signature__name">$options</span>
  342. </code>
  343. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  344. Tags
  345. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_options#tags" class="headerlink"><i class="fas fa-link"></i></a>
  346. </h5>
  347. <dl class="phpdocumentor-tag-list">
  348. <dt class="phpdocumentor-tag-list__entry">
  349. <span class="phpdocumentor-tag__name">noinspection</span>
  350. </dt>
  351. <dd class="phpdocumentor-tag-list__definition">
  352. <section class="phpdocumentor-description"><p>PhpPropertyOnlyWrittenInspection (currently unused)</p>
  353. </section>
  354. </dd>
  355. </dl>
  356. </article>
  357. <article
  358. class="
  359. phpdocumentor-element
  360. -property
  361. -private
  362. "
  363. >
  364. <h4 class="phpdocumentor-element__name" id="property_version">
  365. $version
  366. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_version" class="headerlink"><i class="fas fa-link"></i></a>
  367. <span class="phpdocumentor-element__modifiers">
  368. </span>
  369. </h4>
  370. <aside class="phpdocumentor-element-found-in">
  371. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  372. :
  373. <span class="phpdocumentor-element-found-in__line">33</span>
  374. </aside>
  375. <code class="phpdocumentor-code phpdocumentor-signature ">
  376. <span class="phpdocumentor-signature__visibility">private</span>
  377. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>|null</span>
  378. <span class="phpdocumentor-signature__name">$version</span>
  379. = <span class="phpdocumentor-signature__default-value">null</span></code>
  380. </article>
  381. </section>
  382. <section class="phpdocumentor-methods">
  383. <h3 class="phpdocumentor-elements__header" id="methods">
  384. Methods
  385. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  386. </h3>
  387. <article
  388. class="phpdocumentor-element
  389. -method
  390. -public
  391. "
  392. >
  393. <h4 class="phpdocumentor-element__name" id="method___construct">
  394. __construct()
  395. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  396. </h4>
  397. <aside class="phpdocumentor-element-found-in">
  398. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  399. :
  400. <span class="phpdocumentor-element-found-in__line">39</span>
  401. </aside>
  402. <code class="phpdocumentor-code phpdocumentor-signature ">
  403. <span class="phpdocumentor-signature__visibility">public</span>
  404. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><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>|iterable&lt;string|int, mixed&gt;&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">new <a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>()</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  405. <div class="phpdocumentor-label-line">
  406. </div>
  407. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  408. <dl class="phpdocumentor-argument-list">
  409. <dt class="phpdocumentor-argument-list__entry">
  410. <span class="phpdocumentor-signature__argument__name">$options</span>
  411. : <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>|iterable&lt;string|int, mixed&gt;</span>
  412. = <span class="phpdocumentor-signature__argument__default-value">new <a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>()</span> </dt>
  413. <dd class="phpdocumentor-argument-list__definition">
  414. </dd>
  415. </dl>
  416. </article>
  417. <article
  418. class="phpdocumentor-element
  419. -method
  420. -public
  421. "
  422. >
  423. <h4 class="phpdocumentor-element__name" id="method_decode">
  424. decode()
  425. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decode" 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="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  429. :
  430. <span class="phpdocumentor-element-found-in__line">54</span>
  431. </aside>
  432. <p class="phpdocumentor-summary">Decodes a QR Code represented as a BitMatrix.</p>
  433. <code class="phpdocumentor-code phpdocumentor-signature ">
  434. <span class="phpdocumentor-signature__visibility">public</span>
  435. <span class="phpdocumentor-signature__name">decode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$source</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  436. <div class="phpdocumentor-label-line">
  437. </div>
  438. <section class="phpdocumentor-description"><p>A 1 or &quot;true&quot; is taken to mean a black module.</p>
  439. </section>
  440. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  441. <dl class="phpdocumentor-argument-list">
  442. <dt class="phpdocumentor-argument-list__entry">
  443. <span class="phpdocumentor-signature__argument__name">$source</span>
  444. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-LuminanceSourceInterface.html"><abbr title="\chillerlan\QRCode\Common\LuminanceSourceInterface">LuminanceSourceInterface</abbr></a></span>
  445. </dt>
  446. <dd class="phpdocumentor-argument-list__definition">
  447. </dd>
  448. </dl>
  449. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  450. Tags
  451. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  452. </h5>
  453. <dl class="phpdocumentor-tag-list">
  454. <dt class="phpdocumentor-tag-list__entry">
  455. <span class="phpdocumentor-tag__name">throws</span>
  456. </dt>
  457. <dd class="phpdocumentor-tag-list__definition">
  458. <span class="phpdocumentor-tag-link"><abbr title="\Throwable">Throwable</abbr>|<a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  459. </dd>
  460. </dl>
  461. <section>
  462. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  463. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  464. </section>
  465. </article>
  466. <article
  467. class="phpdocumentor-element
  468. -method
  469. -private
  470. "
  471. >
  472. <h4 class="phpdocumentor-element__name" id="method_decodeAlphanumSegment">
  473. decodeAlphanumSegment()
  474. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeAlphanumSegment" class="headerlink"><i class="fas fa-link"></i></a>
  475. </h4>
  476. <aside class="phpdocumentor-element-found-in">
  477. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  478. :
  479. <span class="phpdocumentor-element-found-in__line">174</span>
  480. </aside>
  481. <code class="phpdocumentor-code phpdocumentor-signature ">
  482. <span class="phpdocumentor-signature__visibility">private</span>
  483. <span class="phpdocumentor-signature__name">decodeAlphanumSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</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">$fc1InEffect</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  484. <div class="phpdocumentor-label-line">
  485. </div>
  486. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  487. <dl class="phpdocumentor-argument-list">
  488. <dt class="phpdocumentor-argument-list__entry">
  489. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  490. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  491. </dt>
  492. <dd class="phpdocumentor-argument-list__definition">
  493. </dd>
  494. <dt class="phpdocumentor-argument-list__entry">
  495. <span class="phpdocumentor-signature__argument__name">$fc1InEffect</span>
  496. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  497. </dt>
  498. <dd class="phpdocumentor-argument-list__definition">
  499. </dd>
  500. </dl>
  501. <section>
  502. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  503. <span class="phpdocumentor-signature__response_type">string</span>
  504. </section>
  505. </article>
  506. <article
  507. class="phpdocumentor-element
  508. -method
  509. -private
  510. "
  511. >
  512. <h4 class="phpdocumentor-element__name" id="method_decodeBitStream">
  513. decodeBitStream()
  514. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeBitStream" class="headerlink"><i class="fas fa-link"></i></a>
  515. </h4>
  516. <aside class="phpdocumentor-element-found-in">
  517. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  518. :
  519. <span class="phpdocumentor-element-found-in__line">108</span>
  520. </aside>
  521. <p class="phpdocumentor-summary">Decode the contents of that stream of bytes</p>
  522. <code class="phpdocumentor-code phpdocumentor-signature ">
  523. <span class="phpdocumentor-signature__visibility">private</span>
  524. <span class="phpdocumentor-signature__name">decodeBitStream</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  525. <div class="phpdocumentor-label-line">
  526. </div>
  527. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  528. <dl class="phpdocumentor-argument-list">
  529. <dt class="phpdocumentor-argument-list__entry">
  530. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  531. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  532. </dt>
  533. <dd class="phpdocumentor-argument-list__definition">
  534. </dd>
  535. </dl>
  536. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  537. Tags
  538. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeBitStream#tags" class="headerlink"><i class="fas fa-link"></i></a>
  539. </h5>
  540. <dl class="phpdocumentor-tag-list">
  541. <dt class="phpdocumentor-tag-list__entry">
  542. <span class="phpdocumentor-tag__name">throws</span>
  543. </dt>
  544. <dd class="phpdocumentor-tag-list__definition">
  545. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  546. </dd>
  547. </dl>
  548. <section>
  549. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  550. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  551. </section>
  552. </article>
  553. <article
  554. class="phpdocumentor-element
  555. -method
  556. -private
  557. "
  558. >
  559. <h4 class="phpdocumentor-element__name" id="method_decodeMatrix">
  560. decodeMatrix()
  561. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  562. </h4>
  563. <aside class="phpdocumentor-element-found-in">
  564. <abbr class="phpdocumentor-element-found-in__file" title="src/Decoder/Decoder.php"><a href="files/src-decoder-decoder.html"><abbr title="src/Decoder/Decoder.php">Decoder.php</abbr></a></abbr>
  565. :
  566. <span class="phpdocumentor-element-found-in__line">87</span>
  567. </aside>
  568. <code class="phpdocumentor-code phpdocumentor-signature ">
  569. <span class="phpdocumentor-signature__visibility">private</span>
  570. <span class="phpdocumentor-signature__name">decodeMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html"><abbr title="\chillerlan\QRCode\Decoder\BitMatrix">BitMatrix</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-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span></code>
  571. <div class="phpdocumentor-label-line">
  572. </div>
  573. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  574. <dl class="phpdocumentor-argument-list">
  575. <dt class="phpdocumentor-argument-list__entry">
  576. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  577. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Decoder-BitMatrix.html"><abbr title="\chillerlan\QRCode\Decoder\BitMatrix">BitMatrix</abbr></a></span>
  578. </dt>
  579. <dd class="phpdocumentor-argument-list__definition">
  580. </dd>
  581. </dl>
  582. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  583. Tags
  584. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeMatrix#tags" class="headerlink"><i class="fas fa-link"></i></a>
  585. </h5>
  586. <dl class="phpdocumentor-tag-list">
  587. <dt class="phpdocumentor-tag-list__entry">
  588. <span class="phpdocumentor-tag__name">throws</span>
  589. </dt>
  590. <dd class="phpdocumentor-tag-list__definition">
  591. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Decoder-QRCodeDecoderException.html"><abbr title="\chillerlan\QRCode\Decoder\QRCodeDecoderException">QRCodeDecoderException</abbr></a></span>
  592. </dd>
  593. </dl>
  594. <section>
  595. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  596. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Decoder-DecoderResult.html"><abbr title="\chillerlan\QRCode\Decoder\DecoderResult">DecoderResult</abbr></a></span>
  597. </section>
  598. </article>
  599. </section>
  600. <div class="phpdocumentor-modal" id="source-view">
  601. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  602. <div class="phpdocumentor-modal-container">
  603. <div class="phpdocumentor-modal-content">
  604. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Decoder/Decoder.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  605. </div>
  606. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  607. </div>
  608. </div>
  609. <script type="text/javascript">
  610. (function () {
  611. function loadExternalCodeSnippet(el, url, line) {
  612. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  613. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  614. const language = 'php';
  615. const code = document.createElement('code');
  616. code.className = 'language-' + language;
  617. pre.textContent = '';
  618. pre.setAttribute('data-line', line)
  619. code.textContent = 'Loading…';
  620. pre.appendChild(code);
  621. var xhr = new XMLHttpRequest();
  622. xhr.open('GET', src, true);
  623. xhr.onreadystatechange = function () {
  624. if (xhr.readyState !== 4) {
  625. return;
  626. }
  627. if (xhr.status < 400 && xhr.responseText) {
  628. code.textContent = xhr.responseText;
  629. Prism.highlightElement(code);
  630. d=document.getElementsByClassName("line-numbers");
  631. d[0].scrollTop = d[0].children[1].offsetTop;
  632. return;
  633. }
  634. if (xhr.status === 404) {
  635. code.textContent = '✖ Error: File could not be found';
  636. return;
  637. }
  638. if (xhr.status >= 400) {
  639. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  640. return;
  641. }
  642. code.textContent = '✖ Error: An unknown error occurred';
  643. };
  644. xhr.send(null);
  645. });
  646. }
  647. const modalButtons = document.querySelectorAll("[data-modal]");
  648. const openedAsLocalFile = window.location.protocol === 'file:';
  649. if (modalButtons.length > 0 && openedAsLocalFile) {
  650. console.warn(
  651. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  652. 'browsers block XHR requests when a page is opened this way'
  653. );
  654. }
  655. modalButtons.forEach(function (trigger) {
  656. if (openedAsLocalFile) {
  657. trigger.setAttribute("hidden", "hidden");
  658. }
  659. trigger.addEventListener("click", function (event) {
  660. event.preventDefault();
  661. const modal = document.getElementById(trigger.dataset.modal);
  662. if (!modal) {
  663. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  664. return;
  665. }
  666. modal.classList.add("phpdocumentor-modal__open");
  667. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  668. const exits = modal.querySelectorAll("[data-exit-button]");
  669. exits.forEach(function (exit) {
  670. exit.addEventListener("click", function (event) {
  671. event.preventDefault();
  672. modal.classList.remove("phpdocumentor-modal__open");
  673. });
  674. });
  675. });
  676. });
  677. })();
  678. </script>
  679. </article>
  680. </section>
  681. <section class="phpdocumentor-on-this-page__sidebar">
  682. <section class="phpdocumentor-on-this-page__content">
  683. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  684. <ul class="phpdocumentor-list -clean">
  685. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  686. <li>
  687. <ul class="phpdocumentor-list -clean">
  688. <li><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#toc-properties">Properties</a></li>
  689. <li><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#toc-methods">Methods</a></li>
  690. </ul>
  691. </li>
  692. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  693. <li>
  694. <ul class="phpdocumentor-list -clean">
  695. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_bitBuffer">$bitBuffer</a></li>
  696. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_detector">$detector</a></li>
  697. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_eccLevel">$eccLevel</a></li>
  698. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_maskPattern">$maskPattern</a></li>
  699. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_options">$options</a></li>
  700. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#property_version">$version</a></li>
  701. </ul>
  702. </li>
  703. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  704. <li>
  705. <ul class="phpdocumentor-list -clean">
  706. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method___construct">__construct()</a></li>
  707. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decode">decode()</a></li>
  708. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeAlphanumSegment">decodeAlphanumSegment()</a></li>
  709. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeBitStream">decodeBitStream()</a></li>
  710. <li class=""><a href="classes/chillerlan-QRCode-Decoder-Decoder.html#method_decodeMatrix">decodeMatrix()</a></li>
  711. </ul>
  712. </li>
  713. </ul>
  714. </section>
  715. </section>
  716. </div>
  717. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  718. <section class="phpdocumentor-search-results__dialog">
  719. <header class="phpdocumentor-search-results__header">
  720. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  721. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  722. </header>
  723. <section class="phpdocumentor-search-results__body">
  724. <ul class="phpdocumentor-search-results__entries"></ul>
  725. </section>
  726. </section>
  727. </section>
  728. </div>
  729. <a href="classes/chillerlan-QRCode-Decoder-Decoder.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  730. </main>
  731. <script>
  732. cssVars({});
  733. </script>
  734. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  735. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  736. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  737. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  738. </body>
  739. </html>