From 82762bb4627364241c69a8b39b1d7840a1d71614 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 13 Jan 2014 15:13:45 +0100 Subject: remove ArrayAccess, JsonSerializable from the public part of FileInfo --- lib/public/files/fileinfo.php | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'lib/public/files/fileinfo.php') diff --git a/lib/public/files/fileinfo.php b/lib/public/files/fileinfo.php index 09c194fe96d..cbe216023da 100644 --- a/lib/public/files/fileinfo.php +++ b/lib/public/files/fileinfo.php @@ -1,26 +1,16 @@ + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. */ namespace OCP\Files; -interface FileInfo extends \ArrayAccess, \JsonSerializable { +interface FileInfo { const TYPE_FILE = 'file'; const TYPE_FOLDER = 'folder'; - public function offsetSet($offset, $value); - - public function offsetGet($offset); - - public function offsetUnset($offset); - - public function offsetExists($offset); - - public function jsonSerialize(); - /** * Get the Etag of the file or folder * -- cgit v1.2.3