Created
May 22, 2013 17:50
-
-
Save xcommerce-gists/5629470 to your computer and use it in GitHub Desktop.
Magento data format: Mage_Webhook_Model_Formatter_Interface for extensibility alpha-1
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
interface Mage_Webhook_Model_Formatter_Interface | |
{ | |
const CONTENT_TYPE_HEADER = 'Content-type'; | |
/** | |
* @param Mage_Webhook_Model_Event_Interface $event | |
* @return Mage_Webhook_Model_Message | |
*/ | |
public function format(Mage_Webhook_Model_Event_Interface $event); | |
/** | |
* @param Mage_Webhook_Model_Message_Interface $message | |
* @return Mage_Webhook_Model_Message_Interface | |
*/ | |
public function decode(Mage_Webhook_Model_Message_Interface $message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment