[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/session/src/ -> ValidatorInterface.php (source)

   1  <?php
   2  /**
   3   * Part of the Joomla Framework Session 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\Session;
  10  
  11  /**
  12   * Interface for validating a part of the session
  13   *
  14   * @since  2.0.0
  15   */
  16  interface ValidatorInterface
  17  {
  18      /**
  19       * Validates the session
  20       *
  21       * @param   boolean  $restart  Flag if the session should be restarted
  22       *
  23       * @return  void
  24       *
  25       * @since   2.0.0
  26       * @throws  Exception\InvalidSessionException
  27       */
  28  	public function validate(bool $restart = false): void;
  29  }


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