| Total Complexity | 9 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class License extends SerialManager |
||
| 10 | {
|
||
| 11 | private $serial; |
||
| 12 | public function register($params,$expired) |
||
| 13 | {
|
||
| 14 | return $this->createLicense($params,$expired); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function serial($serial) |
||
| 18 | {
|
||
| 19 | $this->serial = $serial; |
||
| 20 | return $this; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function disable() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function enable() |
||
| 31 | } |
||
| 32 | |||
| 33 | public function renew($date) |
||
| 34 | {
|
||
| 35 | return $this->renewSN($this->serial,$date); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function check() |
||
| 55 | } |
||
| 56 | } |
||
| 57 | } |
||
| 58 |