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