1
0

KnownUser.php 620 B

123456789101112131415161718192021222324252627282930
  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\KnownUser;
  8. use OCP\AppFramework\Db\Entity;
  9. /**
  10. * @method void setKnownTo(string $knownTo)
  11. * @method string getKnownTo()
  12. * @method void setKnownUser(string $knownUser)
  13. * @method string getKnownUser()
  14. */
  15. class KnownUser extends Entity {
  16. /** @var string */
  17. protected $knownTo;
  18. /** @var string */
  19. protected $knownUser;
  20. public function __construct() {
  21. $this->addType('knownTo', 'string');
  22. $this->addType('knownUser', 'string');
  23. }
  24. }