public function handle(UnsubscribeSubscriptionCommand $command)
    {
        $subscription = $command->subscription;

        event(new SubscriberHasUnsubscribedEvent($subscription->subscriber));

        $subscription->delete();
    }
public function handle(UnsubscribeSubscriptionCommand $command)
    {
        $subscription = $command->subscription;

        event(new SubscriberHasUnsubscribedEvent($subscription->subscriber));

        $subscription->delete();
    }
public function handle ( UnsubscribeSubscriptionCommand $ command ) { $ subscription = $ command -> subscription ; event ( new SubscriberHasUnsubscribedEvent ( $ subscription -> subscriber ) ) ; $ subscription -> delete ( ) ; }
Handle the unsubscribe subscription command.

@param \CachetHQ\Cachet\Bus\Commands\Subscriber\UnsubscribeSubscriptionCommand $command

@return void
Handle the unsubscribe subscription command .