1
0

FakeFactory.php 468 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace Test\Comments;
  8. use OCP\IServerContainer;
  9. /**
  10. * Class FakeFactory
  11. */
  12. class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
  13. public function __construct(IServerContainer $serverContainer) {
  14. }
  15. public function getManager() {
  16. return new FakeManager();
  17. }
  18. }