diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-26 13:07:15 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-27 19:56:44 +0100 |
commit | 329e8c2604a35bded6afac75b59f611002d6db5e (patch) | |
tree | 3d8db1ff09c786554d2d19e122a9811fe7b38f13 /lib/public | |
parent | 9a2694fcb0093afee13d0cd91de15b34b747cc62 (diff) | |
download | nextcloud-server-329e8c2604a35bded6afac75b59f611002d6db5e.tar.gz nextcloud-server-329e8c2604a35bded6afac75b59f611002d6db5e.zip |
Add mimetype to creators
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/DirectEditing/ACreateEmpty.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/DirectEditing/ACreateEmpty.php b/lib/public/DirectEditing/ACreateEmpty.php index 79684e33b80..ab7f7fd3ae8 100644 --- a/lib/public/DirectEditing/ACreateEmpty.php +++ b/lib/public/DirectEditing/ACreateEmpty.php @@ -60,6 +60,14 @@ abstract class ACreateEmpty { abstract public function getExtension(): string; /** + * Mimetype of the resulting created file + * + * @since 18.0.0 + * @return string + */ + abstract public function getMimetype(): string; + + /** * Add content when creating empty files * * @since 18.0.0 |