|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?php
-
- namespace Lc\SovBundle\Repository\Reminder;
-
- use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
- use Doctrine\ORM\QueryBuilder;
- use Lc\SovBundle\Doctrine\EntityInterface;
- use Lc\SovBundle\Model\User\UserInterface;
- use Lc\SovBundle\Repository\AbstractRepositoryQuery;
-
- interface ReminderRepositoryQueryInterface
- {
- 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 filterByDone($done = false): ReminderRepositoryQueryInterface;
-
- public function joinUser(): ReminderRepositoryQueryInterface;
-
- public function filterByUser(UserInterface $user): ReminderRepositoryQueryInterface;
-
- public function filterByCrudAction(?string $crudAction = null
- ): ReminderRepositoryQueryInterface;
-
- public function filterByCrudControllerFqcn(?string $crudControllerFqcn = null
- ): ReminderRepositoryQueryInterface;
-
- public function filterByEntityId(?int $entityId = null): ReminderRepositoryQueryInterface;
-
- public function filterIsNotDone(): ReminderRepositoryQueryInterface;
-
- public function filterLikeCrudAction(string $crudAction): ReminderRepositoryQueryInterface;
-
- public function filterLikeCrudControllerFqcn(string $crudControllerFqcn
- ): ReminderRepositoryQueryInterface;
-
- public function filterLikeEntityId(int $entityId): ReminderRepositoryQueryInterface;
- }
|