1
0

IAppDataFactory.php 363 B

1234567891011121314151617181920
  1. <?php
  2. namespace OCP\Files\AppData;
  3. use OCP\Files\IAppData;
  4. /**
  5. * A factory allows you to get the AppData folder for an application.
  6. *
  7. * @since 25.0.0
  8. */
  9. interface IAppDataFactory {
  10. /**
  11. * Get the AppData folder for the specified $appId
  12. * @param string $appId
  13. * @return IAppData
  14. * @since 25.0.0
  15. */
  16. public function get(string $appId): IAppData;
  17. }