1
0

Backend.php 822 B

1234567891011121314151617181920212223242526272829
  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\CardDAV\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. }