IRestorable.php 403 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\DAV\CalDAV;
  8. use Sabre\DAV\Exception;
  9. /**
  10. * Interface for nodes that can be restored from the trashbin
  11. */
  12. interface IRestorable {
  13. /**
  14. * Restore this node
  15. *
  16. * @throws Exception
  17. */
  18. public function restore(): void;
  19. }