Cacheable.interface.php 349 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Interface for cacheable objects
  4. *
  5. * @author Christopher Han <xiphux@gmail.com>
  6. * @copyright Copyright (c) 2012 Christopher Han
  7. * @package GitPHP
  8. * @subpackage Cache
  9. */
  10. interface GitPHP_Cacheable_Interface
  11. {
  12. /**
  13. * Gets the cache key to use for this object
  14. *
  15. * @return string cache key
  16. */
  17. public function GetCacheKey();
  18. }