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.

26 lines
590 B

2 years ago
  1. <?php
  2. /*
  3. * This file is part of php-cache organization.
  4. *
  5. * (c) 2015 Aaron Scherer <aequasi@gmail.com>, Tobias Nyholm <tobias.nyholm@gmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Cache\Adapter\Common;
  11. /**
  12. * @author Aaron Scherer <aequasi@gmail.com>
  13. * @author Tobias Nyholm <tobias.nyholm@gmail.com>
  14. */
  15. interface HasExpirationTimestampInterface
  16. {
  17. /**
  18. * The timestamp when the object expires.
  19. *
  20. * @return int|null
  21. */
  22. public function getExpirationTimestamp();
  23. }