Interface.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. /**
  3. * PHPIDS
  4. *
  5. * Requirements: PHP5, SimpleXML
  6. *
  7. * Copyright (c) 2008 PHPIDS group (https://phpids.org)
  8. *
  9. * PHPIDS is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU Lesser General Public License as published by
  11. * the Free Software Foundation, version 3 of the License, or
  12. * (at your option) any later version.
  13. *
  14. * PHPIDS is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public License
  20. * along with PHPIDS. If not, see <http://www.gnu.org/licenses/>.
  21. *
  22. * PHP version 5.1.6+
  23. *
  24. * @category Security
  25. * @package PHPIDS
  26. * @author Mario Heiderich <mario.heiderich@gmail.com>
  27. * @author Christian Matthies <ch0012@gmail.com>
  28. * @author Lars Strojny <lars@strojny.net>
  29. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  30. * @link http://php-ids.org/
  31. */
  32. /**
  33. * Caching wrapper interface
  34. *
  35. * @category Security
  36. * @package PHPIDS
  37. * @author Christian Matthies <ch0012@gmail.com>
  38. * @author Mario Heiderich <mario.heiderich@gmail.com>
  39. * @author Lars Strojny <lars@strojny.net>
  40. * @copyright 2007-2009 The PHPIDS Group
  41. * @version SVN: $Id:Interface.php 517 2007-09-15 15:04:13Z mario $
  42. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  43. * @since Version 0.4
  44. * @link http://php-ids.org/
  45. */
  46. interface IDS_Caching_Interface
  47. {
  48. /**
  49. * Interface method
  50. *
  51. * @param array $data the cache data
  52. *
  53. * @return void
  54. */
  55. public function setCache(array $data);
  56. /**
  57. * Interface method
  58. *
  59. * @return void
  60. */
  61. public function getCache();
  62. }
  63. /**
  64. * Local variables:
  65. * tab-width: 4
  66. * c-basic-offset: 4
  67. * End:
  68. * vim600: sw=4 ts=4 expandtab
  69. */