您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ReminderStoreInterface.php 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace Lc\SovBundle\Repository\Reminder;
  3. use Lc\SovBundle\Model\User\UserInterface;
  4. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  5. interface ReminderStoreInterface
  6. {
  7. public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
  8. public function createQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
  9. public function getRepositoryQuery();
  10. public function getOneById(int $id);
  11. public function getOneBySlug(string $slug, bool $isOnline = true, $query = null);
  12. public function getOneByDevAlias(string $devAlias, $query = null);
  13. public function getOneOnlineByDevAlias(string $devAlias, $query = null);
  14. public function getOneByOldUrl(string $oldUrl, $query = null);
  15. public function getAll($query = null);
  16. public function getOnline($query = null);
  17. public function getParent(bool $isOnline = true, $query = null);
  18. public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  19. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  20. public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
  21. public function get($params = [], $query = null);
  22. public function getByUser(UserInterface $user, $query = null): array;
  23. public function getByEasyAdminConfigAndUser(
  24. string $crudAction,
  25. string $crudControllerFqcn,
  26. UserInterface $user,
  27. int $entityId = null,
  28. $query = null
  29. ): array;
  30. }