Backend.php 822 B

123456789101112131415161718192021222324252627282930
  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 OCA\DAV\CalDAV\Sharing;
  8. use OCA\DAV\Connector\Sabre\Principal;
  9. use OCA\DAV\DAV\Sharing\Backend as SharingBackend;
  10. use OCP\ICacheFactory;
  11. use OCP\IGroupManager;
  12. use OCP\IUserManager;
  13. use Psr\Log\LoggerInterface;
  14. class Backend extends SharingBackend {
  15. public function __construct(
  16. private IUserManager $userManager,
  17. private IGroupManager $groupManager,
  18. private Principal $principalBackend,
  19. private ICacheFactory $cacheFactory,
  20. private Service $service,
  21. private LoggerInterface $logger,
  22. ) {
  23. parent::__construct($this->userManager, $this->groupManager, $this->principalBackend, $this->cacheFactory, $this->service, $this->logger);
  24. }
  25. }