|
|
@@ -40,11 +40,11 @@ abstract class Zend_Feed_Pubsubhubbub_CallbackAbstract
|
|
|
implements Zend_Feed_Pubsubhubbub_CallbackInterface
|
|
|
{
|
|
|
/**
|
|
|
- * An instance of Zend_Feed_Pubsubhubbub_Model_ModelAbstract used
|
|
|
+ * An instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used
|
|
|
* to background save any verification tokens associated with a subscription
|
|
|
* or other.
|
|
|
*
|
|
|
- * @var Zend_Feed_Pubsubhubbub_Model_ModelAbstract
|
|
|
+ * @var Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
|
|
|
*/
|
|
|
protected $_storage = null;
|
|
|
|
|
|
@@ -113,32 +113,32 @@ abstract class Zend_Feed_Pubsubhubbub_CallbackAbstract
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Sets an instance of Zend_Feed_Pubsubhubbub_Storage_StorageInterface used
|
|
|
+ * Sets an instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used
|
|
|
* to background save any verification tokens associated with a subscription
|
|
|
* or other.
|
|
|
*
|
|
|
- * @param Zend_Feed_Pubsubhubbub_Storage_StorageInterface $storage
|
|
|
+ * @param Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $storage
|
|
|
* @return Zend_Feed_Pubsubhubbub_CallbackAbstract
|
|
|
*/
|
|
|
- public function setStorage(Zend_Feed_Pubsubhubbub_Model_ModelAbstract $storage)
|
|
|
+ public function setStorage(Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface $storage)
|
|
|
{
|
|
|
$this->_storage = $storage;
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Gets an instance of Zend_Feed_Pubsubhubbub_Storage_StorageInterface used
|
|
|
+ * Gets an instance of Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface used
|
|
|
* to background save any verification tokens associated with a subscription
|
|
|
* or other.
|
|
|
*
|
|
|
- * @return Zend_Feed_Pubsubhubbub_Model_ModelAbstract
|
|
|
+ * @return Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface
|
|
|
*/
|
|
|
public function getStorage()
|
|
|
{
|
|
|
if ($this->_storage === null) {
|
|
|
require_once 'Zend/Feed/Pubsubhubbub/Exception.php';
|
|
|
throw new Zend_Feed_Pubsubhubbub_Exception('No storage object has been'
|
|
|
- . ' set that subclasses Zend_Feed_Pubsubhubbub_Model_ModelAbstract');
|
|
|
+ . ' set that subclasses Zend_Feed_Pubsubhubbub_Model_SubscriptionInterface');
|
|
|
}
|
|
|
return $this->_storage;
|
|
|
}
|