Skip to content

Instantly share code, notes, and snippets.

@ciszu
Created November 28, 2019 06:14
Show Gist options
  • Save ciszu/47a79f43b25adcee466b43903768aafc to your computer and use it in GitHub Desktop.
Save ciszu/47a79f43b25adcee466b43903768aafc to your computer and use it in GitHub Desktop.
<?php
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