interface SubscriptionPersistenceInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/PubSubHubbub/Model/SubscriptionPersistenceInterface.php \Zend\Feed\PubSubHubbub\Model\SubscriptionPersistenceInterface
Hierarchy
- interface \Zend\Feed\PubSubHubbub\Model\SubscriptionPersistenceInterface
Expanded class hierarchy of SubscriptionPersistenceInterface
All classes that implement SubscriptionPersistenceInterface
File
- vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Model/ SubscriptionPersistenceInterface.php, line 12
Namespace
Zend\Feed\PubSubHubbub\ModelView source
interface SubscriptionPersistenceInterface {
/**
* Save subscription to RDMBS
*
* @param array $data The key must be stored here as a $data['id'] entry
* @return bool
*/
public function setSubscription(array $data);
/**
* Get subscription by ID/key
*
* @param string $key
* @return array
*/
public function getSubscription($key);
/**
* Determine if a subscription matching the key exists
*
* @param string $key
* @return bool
*/
public function hasSubscription($key);
/**
* Delete a subscription
*
* @param string $key
* @return bool
*/
public function deleteSubscription($key);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SubscriptionPersistenceInterface:: |
public | function | Delete a subscription | 1 |
SubscriptionPersistenceInterface:: |
public | function | Get subscription by ID/key | 1 |
SubscriptionPersistenceInterface:: |
public | function | Determine if a subscription matching the key exists | 1 |
SubscriptionPersistenceInterface:: |
public | function | Save subscription to RDMBS | 1 |