package Default

 Methods

Delete a subscription

deleteSubscription(string $key) : boolean

Parameters

$key

string

Returns

boolean

Get subscription by ID/key

getSubscription(string $key) : array

Parameters

$key

string

Returns

array

Determine if a subscription matching the key exists

hasSubscription(string $key) : boolean

Parameters

$key

string

Returns

boolean

Save subscription to RDMBS

setSubscription(array $data) : boolean

Parameters

$data

array

The key must be stored here as a $data['id'] entry

Returns

boolean