|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
-
- namespace Lc\SovBundle\Repository\User;
-
- use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
- use Doctrine\ORM\QueryBuilder;
- use Lc\SovBundle\Doctrine\EntityInterface;
-
- interface GroupUserRepositoryQueryInterface
- {
- public function create();
-
- public function call(callable $fn);
-
- public function count();
-
- public function findOne();
-
- public function find(): array;
-
- public function limit(int $maxResults);
-
- public function paginate(int $page = 1, int $limit = 20);
-
- public function getRepository(): ServiceEntityRepository;
-
- public function getQueryBuilder(): QueryBuilder;
-
- public function groupBy(string $field);
-
- public function orderBy(string $field, string $sort = 'ASC');
-
- public function filterById(int $id);
-
- public function andWhereEqual($field, $value);
-
- public function filterByOldUrl(string $oldUrl);
-
- public function resetRelationsJoin(): void;
-
- public function filterByDevAlias(string $devAlias);
-
- public function filterBySlug(string $slug);
-
- public function filterIsParent();
-
- public function filterIsChildren();
-
- public function filterByParent(EntityInterface $parent = null);
-
- public function filterIsOffline();
-
- public function filterIsOnline();
-
- public function filterIsDeleted();
-
- public function filterIsOnlineAndOffline();
-
- public function joinUsers(): GroupUserRepositoryQueryInterface;
- }
|