|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
-
- namespace Lc\SovBundle\Repository\User;
-
- use App\Entity\Newsletter\Newsletter;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
-
- interface UserStoreInterface
- {
- public function createDefaultQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
-
- public function createQuery(RepositoryQueryInterface $query = null): RepositoryQueryInterface;
-
- public function getRepositoryQuery();
-
- public function getOneById(int $id);
-
- public function getOneBySlug(string $slug, bool $isOnline = true, $query = null);
-
- public function getOneByDevAlias(string $devAlias, $query = null);
-
- public function getOneOnlineByDevAlias(string $devAlias, $query = null);
-
- public function getOneByOldUrl(string $oldUrl, $query = null);
-
- public function get($query = null);
-
- public function getAll($query = null);
-
- public function getOnline($query = null);
-
- public function getParent(bool $isOnline = true, $query = null);
-
- public function orderByDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
-
- public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
-
- public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface;
-
- public function getByNewsletter(Newsletter $newsletter, $query = null): array;
-
- public function getByRole(string $role, $query = null): array;
-
- public function getByTicketTypesNotification(string $ticketType, $query = null): array;
-
- public function getOneByEmail(string $email, $query = null);
- }
|