Browse Source

Deploying to readthedocs from @ chillerlan/php-qrcode@376c972de09ac136e0a416f3606432523512fc2e 🚀

codemasher 7 months ago
parent
commit
782ebe76f1
4 changed files with 5 additions and 5 deletions
  1. 2 2
      Usage/Advanced-usage.html
  2. 2 2
      _sources/Usage/Advanced-usage.md.txt
  3. 1 1
      index.html
  4. 0 0
      searchindex.js

+ 2 - 2
Usage/Advanced-usage.html

@@ -579,8 +579,8 @@ This method is used internally when a data mode is invoked, but it can come in h
 <section id="return-the-image-resource">
 <section id="return-the-image-resource">
 <h3>Return the image resource<a class="headerlink" href="#return-the-image-resource" title="Link to this heading"></a></h3>
 <h3>Return the image resource<a class="headerlink" href="#return-the-image-resource" title="Link to this heading"></a></h3>
 <p>In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output.</p>
 <p>In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output.</p>
-<div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$options</span><span class="o">-&gt;</span><span class="na">outputType</span>     <span class="o">=</span> <span class="nx">QROutputInterface</span><span class="o">::</span><span class="na">IMAGICK</span><span class="p">;</span>
-<span class="nv">$options</span><span class="o">-&gt;</span><span class="na">returnResource</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
+<div class="highlight-php notranslate"><div class="highlight"><pre><span></span><span class="nv">$options</span><span class="o">-&gt;</span><span class="na">outputInterface</span> <span class="o">=</span> <span class="nx">QRImagick</span><span class="o">::</span><span class="na">class</span><span class="p">;</span>
+<span class="nv">$options</span><span class="o">-&gt;</span><span class="na">returnResource</span>  <span class="o">=</span> <span class="k">true</span><span class="p">;</span>
 
 
 <span class="sd">/** @var Imagick $imagick */</span>
 <span class="sd">/** @var Imagick $imagick */</span>
 <span class="nv">$imagick</span> <span class="o">=</span> <span class="nv">$qrcode</span><span class="o">-&gt;</span><span class="na">render</span><span class="p">(</span><span class="nv">$data</span><span class="p">);</span>
 <span class="nv">$imagick</span> <span class="o">=</span> <span class="nv">$qrcode</span><span class="o">-&gt;</span><span class="na">render</span><span class="p">(</span><span class="nv">$data</span><span class="p">);</span>

+ 2 - 2
_sources/Usage/Advanced-usage.md.txt

@@ -252,8 +252,8 @@ echo $qrcode->render($data);
 In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output.
 In some cases you might want to modify the QR image after creation (without crating a custom output class), in which case you want the internal image resource rather than the final output.
 
 
 ```php
 ```php
-$options->outputType     = QROutputInterface::IMAGICK;
-$options->returnResource = true;
+$options->outputInterface = QRImagick::class;
+$options->returnResource  = true;
 
 
 /** @var Imagick $imagick */
 /** @var Imagick $imagick */
 $imagick = $qrcode->render($data);
 $imagick = $qrcode->render($data);

+ 1 - 1
index.html

@@ -359,7 +359,7 @@
              
              
   <section id="chillerlan-php-qrcode-manual">
   <section id="chillerlan-php-qrcode-manual">
 <h1>chillerlan PHP-QRCode Manual<a class="headerlink" href="#chillerlan-php-qrcode-manual" title="Link to this heading"></a></h1>
 <h1>chillerlan PHP-QRCode Manual<a class="headerlink" href="#chillerlan-php-qrcode-manual" title="Link to this heading"></a></h1>
-<p>User manual for <a class="reference external" href="https://github.com/chillerlan/php-qrcode/">chillerlan/php-qrcode</a>  [main]. Updated on Apr 01, 2025.</p>
+<p>User manual for <a class="reference external" href="https://github.com/chillerlan/php-qrcode/">chillerlan/php-qrcode</a>  [main]. Updated on May 01, 2025.</p>
 <p>The phpDocumentor API documentation can be found at <a class="reference external" href="https://chillerlan.github.io/php-qrcode/">chillerlan.github.io/php-qrcode</a>.</p>
 <p>The phpDocumentor API documentation can be found at <a class="reference external" href="https://chillerlan.github.io/php-qrcode/">chillerlan.github.io/php-qrcode</a>.</p>
 <p>This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.</p>
 <p>This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.</p>
 <div class="toctree-wrapper compound">
 <div class="toctree-wrapper compound">

File diff suppressed because it is too large
+ 0 - 0
searchindex.js


Some files were not shown because too many files changed in this diff