diff options
Diffstat (limited to 'lib/public/Files/SimpleFS/ISimpleFile.php')
-rw-r--r-- | lib/public/Files/SimpleFS/ISimpleFile.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php index 3287c42054f..8f1921cb7cb 100644 --- a/lib/public/Files/SimpleFS/ISimpleFile.php +++ b/lib/public/Files/SimpleFS/ISimpleFile.php @@ -28,7 +28,11 @@ use OCP\Files\NotFoundException; use OCP\Files\NotPermittedException; /** - * Interface ISimpleFile + * This interface allows to manage simple files. + * + * This interface must not be implemented in your application but + * instead should be used as a service and injected in your code with + * dependency injection. * * @since 11.0.0 */ @@ -103,6 +107,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 |