Skip to content

Instantly share code, notes, and snippets.

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