ITranslationProviderWithUserId.php 445 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Translation;
  8. /**
  9. * @since 29.0.0
  10. */
  11. interface ITranslationProviderWithUserId extends ITranslationProvider {
  12. /**
  13. * @param string|null $userId The userId of the user requesting the current task
  14. * @since 29.0.0
  15. */
  16. public function setUserId(?string $userId);
  17. }