mirror of https://github.com/nextcloud/server.git
Make it possible to get the appdata folder using the public API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>pull/32339/head
parent
5a0b28d603
commit
a392cd70fb
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace OCP\Files\AppData;
|
||||
|
||||
use OCP\Files\IAppData;
|
||||
|
||||
/**
|
||||
* A factory allows you to get the AppData folder for an application.
|
||||
*
|
||||
* @since 25.0.0
|
||||
*/
|
||||
interface IAppDataFactory {
|
||||
|
||||
/**
|
||||
* Get the AppData folder for the specified $appId
|
||||
* @param string $appId
|
||||
* @return IAppData
|
||||
* @since 25.0.0
|
||||
*/
|
||||
public function get(string $appId): IAppData;
|
||||
}
|
Loading…
Reference in New Issue