1
0

Backend.php 819 B

12345678910111213141516171819202122232425262728
  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(private IUserManager $userManager,
  16. private IGroupManager $groupManager,
  17. private Principal $principalBackend,
  18. private ICacheFactory $cacheFactory,
  19. private Service $service,
  20. private LoggerInterface $logger,
  21. ) {
  22. parent::__construct($this->userManager, $this->groupManager, $this->principalBackend, $this->cacheFactory, $this->service, $this->logger);
  23. }
  24. }