PersonalSection.php 932 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCA\Files_External\Settings;
  7. use OCA\Files_External\Service\BackendService;
  8. use OCA\Files_External\Service\UserGlobalStoragesService;
  9. use OCP\IL10N;
  10. use OCP\IURLGenerator;
  11. use OCP\IUserSession;
  12. class PersonalSection extends Section {
  13. /** @var IUserSession */
  14. private $userSession;
  15. /** @var UserGlobalStoragesService */
  16. private $userGlobalStoragesService;
  17. /** @var BackendService */
  18. private $backendService;
  19. public function __construct(
  20. IURLGenerator $url,
  21. IL10N $l,
  22. IUserSession $userSession,
  23. UserGlobalStoragesService $userGlobalStoragesService,
  24. BackendService $backendService
  25. ) {
  26. parent::__construct($url, $l);
  27. $this->userSession = $userSession;
  28. $this->userGlobalStoragesService = $userGlobalStoragesService;
  29. $this->backendService = $backendService;
  30. }
  31. }