You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
422 B

  1. <?php
  2. /**
  3. * @copyright NetMonsters <team@netmonsters.ru>
  4. * @link http://netmonsters.ru
  5. * @package Majestic
  6. * @subpackage cache
  7. * @since 2010-03-12
  8. * @version SVN: $Id$
  9. * @filesource $URL$
  10. */
  11. interface iCacheable
  12. {
  13. /**
  14. * @return Cache
  15. */
  16. public function getCache();
  17. /**
  18. * @param string $key
  19. * @return Expiration time in seconds
  20. */
  21. public function getKeyExpire($key);
  22. }