1<?php 2 3namespace Sabre\CalDAV\Notifications; 4 5/** 6 * This node represents a single notification. 7 * 8 * The signature is mostly identical to that of Sabre\DAV\IFile, but the get() method 9 * MUST return an xml document that matches the requirements of the 10 * 'caldav-notifications.txt' spec. 11 * 12 * For a complete example, check out the Notification class, which contains 13 * some helper functions. 14 * 15 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). 16 * @author Evert Pot (http://evertpot.com/) 17 * @license http://sabre.io/license/ Modified BSD License 18 */ 19interface INode { 20 21 /** 22 * This method must return an xml element, using the 23 * Sabre\CalDAV\Notifications\INotificationType classes. 24 * 25 * @return INotificationType 26 */ 27 function getNotificationType(); 28 29 /** 30 * Returns the etag for the notification. 31 * 32 * The etag must be surrounded by litteral double-quotes. 33 * 34 * @return string 35 */ 36 function getETag(); 37 38} 39