1
0

fakemanager.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace Test\Comments;
  3. /**
  4. * Class FakeManager
  5. */
  6. class FakeManager implements \OCP\Comments\ICommentsManager {
  7. public function get($id) {}
  8. public function getTree($id, $limit = 0, $offset = 0) {}
  9. public function getForObject(
  10. $objectType,
  11. $objectId,
  12. $limit = 0,
  13. $offset = 0,
  14. \DateTime $notOlderThan = null
  15. ) {}
  16. public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null) {}
  17. public function create($actorType, $actorId, $objectType, $objectId) {}
  18. public function delete($id) {}
  19. public function save(\OCP\Comments\IComment $comment) {}
  20. public function deleteReferencesOfActor($actorType, $actorId) {}
  21. public function deleteCommentsAtObject($objectType, $objectId) {}
  22. public function setReadMark($objectType, $objectId, \DateTime $dateTime, \OCP\IUser $user) {}
  23. public function getReadMark($objectType, $objectId, \OCP\IUser $user) {}
  24. public function deleteReadMarksFromUser(\OCP\IUser $user) {}
  25. public function deleteReadMarksOnObject($objectType, $objectId) {}
  26. }