Created
November 11, 2019 07:11
-
-
Save ciszu/e9bd59d6fa55c42d153d481b89f0cb86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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