aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IStreamImage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IStreamImage.php')
-rw-r--r--lib/public/IStreamImage.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/IStreamImage.php b/lib/public/IStreamImage.php
new file mode 100644
index 00000000000..5363e0fcbc7
--- /dev/null
+++ b/lib/public/IStreamImage.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP;
+
+/**
+ * @since 24.0.0
+ */
+interface IStreamImage extends IImage {
+ /**
+ * @since 24.0.0
+ * @return false|resource Returns the image resource if any
+ */
+ public function resource();
+}