Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ReminderRepositoryQueryInterface.php 2.4KB

před 3 roky
před 3 roky
před 3 roky
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. namespace Lc\SovBundle\Repository\Reminder;
  3. use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
  4. use Doctrine\ORM\QueryBuilder;
  5. use Lc\SovBundle\Doctrine\EntityInterface;
  6. use Lc\SovBundle\Model\User\UserInterface;
  7. use Lc\SovBundle\Repository\AbstractRepositoryQuery;
  8. interface ReminderRepositoryQueryInterface
  9. {
  10. public function create();
  11. public function call(callable $fn);
  12. public function count();
  13. public function findOne();
  14. public function find(): array;
  15. public function limit(int $maxResults);
  16. public function paginate(int $page = 1, int $limit = 20);
  17. public function getRepository(): ServiceEntityRepository;
  18. public function getQueryBuilder(): QueryBuilder;
  19. public function groupBy(string $field);
  20. public function orderBy(string $field, string $sort = 'ASC');
  21. public function filterById(int $id);
  22. public function andWhereEqual($field, $value);
  23. public function filterByOldUrl(string $oldUrl);
  24. public function resetRelationsJoin(): void;
  25. public function filterByDevAlias(string $devAlias);
  26. public function filterBySlug(string $slug);
  27. public function filterIsParent();
  28. public function filterIsChildren();
  29. public function filterByParent(EntityInterface $parent = null);
  30. public function filterIsOffline();
  31. public function filterIsOnline();
  32. public function filterIsDeleted();
  33. public function filterIsOnlineAndOffline();
  34. public function filterByDone($done = false): ReminderRepositoryQueryInterface;
  35. public function joinUser(): ReminderRepositoryQueryInterface;
  36. public function filterByUser(UserInterface $user): ReminderRepositoryQueryInterface;
  37. public function filterByCrudAction(?string $crudAction = null
  38. ): ReminderRepositoryQueryInterface;
  39. public function filterByCrudControllerFqcn(?string $crudControllerFqcn = null
  40. ): ReminderRepositoryQueryInterface;
  41. public function filterByEntityId(?int $entityId = null): ReminderRepositoryQueryInterface;
  42. public function filterIsNotDone(): ReminderRepositoryQueryInterface;
  43. public function filterLikeCrudAction(string $crudAction): ReminderRepositoryQueryInterface;
  44. public function filterLikeCrudControllerFqcn(string $crudControllerFqcn
  45. ): ReminderRepositoryQueryInterface;
  46. public function filterLikeEntityId(int $entityId): ReminderRepositoryQueryInterface;
  47. }