aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/AppData/IAppDataFactory.php
blob: b689da36b83b2b27662074a36c38baaff289ef3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}