Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
namespace Mozartify\Subscription;
class PostgreSqlStorage
{
public function __construct($dsn) {}
public function select(string $model, int $id) {}
public function selectAll($model) {}
public function createNewTenant(string $tenantName) {}
public function createNewSubscription(int $tenantId) {}
public function addPackage(int $subscriptionId, string $packageType, int $heartbeats) {}
public function addExtraHeartbeats(int $subscriptionId, int $heartbeats) {}
public function getActivePackage(int $subscriptionId) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.