diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-04-16 22:33:20 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-04-17 14:22:49 +0300 |
commit | 46469695dffff71baa0c91989923a2be45acd669 (patch) | |
tree | d8bb19d09709114433acbb73c7689c90bc293101 /lib/Contracts | |
parent | 277a331a414bdcd62026989c5a0312ae269b6032 (diff) |
Make it possible to create a new folder
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index 20c9bb3d8..84341cd0b 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -37,6 +37,14 @@ interface IMailManager { public function getFolders(Account $account): array; /** + * @param Account $account + * @param string $name + * + * @return Folder + */ + public function createFolder(Account $account, string $name): Folder; + + /** * @param Account * @param SyncRequest $syncRequest * @return SyncResponse |