| 1 | <?php |
||
| 8 | class Subscription |
||
| 9 | { |
||
| 10 | use SubscriptionTrait; |
||
| 11 | |||
| 12 | const SUBSCRIPTION_STATUS_ACTIVE = 'active'; |
||
| 13 | |||
| 14 | const SUBSCRIPTION_STATUS_TRIAL = 'trial'; |
||
| 15 | |||
| 16 | const SUBSCRIPTION_STATUS_CANCELED = 'canceled'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Check if the current subscription is running. |
||
| 20 | * |
||
| 21 | * @return boolean |
||
| 22 | */ |
||
| 23 | 12 | public function isRunning() |
|
| 32 | } |
||
| 33 |