ARegistration.php 466 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OC\AppFramework\Bootstrap;
  8. /**
  9. * @psalm-immutable
  10. */
  11. abstract class ARegistration {
  12. /** @var string */
  13. private $appId;
  14. public function __construct(string $appId) {
  15. $this->appId = $appId;
  16. }
  17. /**
  18. * @return string
  19. */
  20. public function getAppId(): string {
  21. return $this->appId;
  22. }
  23. }