[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/maximebf/debugbar/src/DebugBar/Storage/ -> StorageInterface.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\Storage;
  12  
  13  interface StorageInterface
  14  {
  15      /**
  16       * Saves collected data
  17       *
  18       * @param string $id
  19       * @param string $data
  20       */
  21      function save($id, $data);
  22  
  23      /**
  24       * Returns collected data with the specified id
  25       *
  26       * @param string $id
  27       * @return array
  28       */
  29      function get($id);
  30  
  31      /**
  32       * Returns a metadata about collected data
  33       *
  34       * @param array $filters
  35       * @param integer $max
  36       * @param integer $offset
  37       * @return array
  38       */
  39      function find(array $filters = array(), $max = 20, $offset = 0);
  40  
  41      /**
  42       * Clears all the collected data
  43       */
  44      function clear();
  45  }


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