HasExpirationTimestampInterface.php 590 B

1234567891011121314151617181920212223242526
  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. }