| 1 | <?php  | 
            ||
| 10 | class Future extends RenewCommand  | 
            ||
| 11 | { | 
            ||
| 12 | use PeriodTrait;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * Set domain name for future (option)  | 
            ||
| 16 | *  | 
            ||
| 17 | * @param string $domain Domain Name  | 
            ||
| 18 | *  | 
            ||
| 19 | * @throws Exception on incorrect domain name  | 
            ||
| 20 | */  | 
            ||
| 21 | public function setFuture($domain)  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * Set current expiration date of future object  | 
            ||
| 32 | *  | 
            ||
| 33 | * @param string $curExpDate date in yyyy-mm-dd format  | 
            ||
| 34 | */  | 
            ||
| 35 | public function setCurrentExpirationDate($curExpDate)  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * Set renew period for future object  | 
            ||
| 42 | *  | 
            ||
| 43 | * Usually this should be 3y.  | 
            ||
| 44 | *  | 
            ||
| 45 | * @param string $period ending in y (for years) or m (for months)  | 
            ||
| 46 | */  | 
            ||
| 47 | public function setPeriod($period)  | 
            ||
| 51 | }  | 
            ||
| 52 |