[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/ -> HttpDriverInterface.php (source)

   1  <?php
   2  /*
   3   * This file is part of the DebugBar package.
   4   *
   5   * (c) 2013 Maxime Bouroumeau-Fuseau
   6   *
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  namespace DebugBar;
  12  
  13  /**
  14   * Provides an abstraction of PHP native features for easier integration
  15   * in third party frameworks
  16   */
  17  interface HttpDriverInterface
  18  {
  19      /**
  20       * Sets HTTP headers
  21       *
  22       * @param array $headers
  23       * @return
  24       */
  25      function setHeaders(array $headers);
  26  
  27      /**
  28       * Checks if the session is started
  29       *
  30       * @return boolean
  31       */
  32      function isSessionStarted();
  33  
  34      /**
  35       * Sets a value in the session
  36       *
  37       * @param string $name
  38       * @param string $value
  39       */
  40      function setSessionValue($name, $value);
  41  
  42      /**
  43       * Checks if a value is in the session
  44       *
  45       * @param string $name
  46       * @return boolean
  47       */
  48      function hasSessionValue($name);
  49  
  50      /**
  51       * Returns a value from the session
  52       *
  53       * @param string $name
  54       * @return mixed
  55       */
  56      function getSessionValue($name);
  57  
  58      /**
  59       * Deletes a value from the session
  60       *
  61       * @param string $name
  62       */
  63      function deleteSessionValue($name);
  64  }


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