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