[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/var-dumper/Caster/ -> ImgStub.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <[email protected]>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Component\VarDumper\Caster;
  13  
  14  /**
  15   * @author GrĂ©goire Pineau <[email protected]>
  16   */
  17  class ImgStub extends ConstStub
  18  {
  19      public function __construct(string $data, string $contentType, string $size = '')
  20      {
  21          $this->value = '';
  22          $this->attr['img-data'] = $data;
  23          $this->attr['img-size'] = $size;
  24          $this->attr['content-type'] = $contentType;
  25      }
  26  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer