summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/SimpleFS/ISimpleFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/SimpleFS/ISimpleFile.php')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleFile.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php
index 3287c42054f..c0db4cc22e9 100644
--- a/lib/public/Files/SimpleFS/ISimpleFile.php
+++ b/lib/public/Files/SimpleFS/ISimpleFile.php
@@ -103,6 +103,11 @@ interface ISimpleFile {
public function getMimeType();
/**
+ * @since 24.0.0
+ */
+ public function getExtension(): string;
+
+ /**
* Open the file as stream for reading, resulting resource can be operated as stream like the result from php's own fopen
*
* @return resource