summaryrefslogtreecommitdiffstats
path: root/lib/public/files/fileinfo.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-01-13 15:13:45 +0100
committerRobin Appelman <icewind@owncloud.com>2014-01-13 15:13:45 +0100
commit82762bb4627364241c69a8b39b1d7840a1d71614 (patch)
tree4e556e65b4489413070b5f0b5da05e3888522ff2 /lib/public/files/fileinfo.php
parent39d2c18793d32fd429cb44d3f61f0e6d6a018cda (diff)
downloadnextcloud-server-82762bb4627364241c69a8b39b1d7840a1d71614.tar.gz
nextcloud-server-82762bb4627364241c69a8b39b1d7840a1d71614.zip
remove ArrayAccess, JsonSerializable from the public part of FileInfo
Diffstat (limited to 'lib/public/files/fileinfo.php')
-rw-r--r--lib/public/files/fileinfo.php20
1 files changed, 5 insertions, 15 deletions
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 @@
<?php
/**
- * Created by PhpStorm.
- * User: robin
- * Date: 1/13/14
- * Time: 1:45 PM
+ * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
+ * 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
*