/**
  * Handle the event.
  *
  * @param  SubscriptionDeleted  $event
  * @return void
  */
 public function handle(SubscriptionDeleted $event)
 {
     // Stop event propagation if subscription does not exists
     if (!$event->userId) {
         return false;
     }
     UserActions::info($event->userId, 'Subscription with id ' . $event->subscription['id'] . ' was deleted.');
 }
 /**
  * Handle the event.
  *
  * @param  SubscriptionCreated  $event
  * @return void
  */
 public function handle(SubscriptionCreated $event)
 {
     UserActions::info($event->userId, 'Subscription with id ' . $event->subscription['id'] . ' was created.');
 }
 /**
  * Handle the event.
  *
  * @param  SubscriptionSucceeded  $event
  * @return void
  */
 public function handle(SubscriptionSucceeded $event)
 {
     UserActions::info($event->userId, 'Subscription with id ' . $event->subscription['id'] . ' succeeded.');
 }