INameableVersionBackend.php 444 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files_Versions\Versions;
  8. /**
  9. * @deprecated 29.0.0
  10. * @since 26.0.0
  11. */
  12. interface INameableVersionBackend {
  13. /**
  14. * Set the label for a version.
  15. * @deprecated 29.0.0
  16. * @since 26.0.0
  17. */
  18. public function setVersionLabel(IVersion $version, string $label): void;
  19. }