Checker.php 552 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of Psy Shell.
  4. *
  5. * (c) 2012-2020 Justin Hileman
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Psy\VersionUpdater;
  11. interface Checker
  12. {
  13. const ALWAYS = 'always';
  14. const DAILY = 'daily';
  15. const WEEKLY = 'weekly';
  16. const MONTHLY = 'monthly';
  17. const NEVER = 'never';
  18. /**
  19. * @return bool
  20. */
  21. public function isLatest();
  22. /**
  23. * @return string
  24. */
  25. public function getLatest();
  26. }