FakeFactory.php 293 B

1234567891011121314151617
  1. <?php
  2. namespace Test\Comments;
  3. use OCP\IServerContainer;
  4. /**
  5. * Class FakeFactory
  6. */
  7. class FakeFactory implements \OCP\Comments\ICommentsManagerFactory {
  8. public function __construct(IServerContainer $serverContainer) {
  9. }
  10. public function getManager() {
  11. return new FakeManager();
  12. }
  13. }