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