1<?php 2 3namespace Sabre\DAV; 4 5/** 6 * IQuota interface 7 * 8 * Implement this interface to add the ability to return quota information. The ObjectTree 9 * will check for quota information on any given node. If the information is not available it will 10 * attempt to fetch the information from the root node. 11 * 12 * @copyright Copyright (C) 2007-2015 fruux GmbH (https://fruux.com/). 13 * @author Evert Pot (http://evertpot.com/) 14 * @license http://sabre.io/license/ Modified BSD License 15 */ 16interface IQuota extends ICollection { 17 18 /** 19 * Returns the quota information 20 * 21 * This method MUST return an array with 2 values, the first being the total used space, 22 * the second the available space (in bytes) 23 */ 24 function getQuotaInfo(); 25 26} 27