[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/crypt/src/Exception/ -> UnsupportedCipherException.php (source)

   1  <?php
   2  /**
   3   * Part of the Joomla Framework Crypt Package
   4   *
   5   * @copyright  Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
   6   * @license    GNU General Public License version 2 or later; see LICENSE
   7   */
   8  
   9  namespace Joomla\Crypt\Exception;
  10  
  11  /**
  12   * Exception representing an error encrypting data
  13   *
  14   * @since  2.0.0
  15   */
  16  class UnsupportedCipherException extends \LogicException implements CryptExceptionInterface
  17  {
  18      /**
  19       * UnsupportedCipherException constructor.
  20       *
  21       * @param   string  $class  The class name of the unsupported cipher.
  22       *
  23       * @since   2.0.0
  24       */
  25  	public function __construct(string $class)
  26      {
  27          parent::__construct("The '$class' cipher is not supported in this environment.");
  28      }
  29  }


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