Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
namespace Mozartify\Subscription;
class SubscriptionDomain
public function subscribe($tenantName, $packageType) {}
public static function getHeartbeatsByPackageType(string $type) {}
public function buyPackage(int $subscriptionId, string $newPackageType) {}
public function buyHeartbeats(int $subscriptionId, int $heartbeats) {}
public function getActivePackage(int $subscriptionId) {}
public function prepareCommercialOffer(?int $subscriptionId) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment