You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace Lc\CaracoleBundle\Repository\User;
-
- use Lc\CaracoleBundle\Repository\MerchantStoreTrait;
- use Lc\CaracoleBundle\Repository\StoreTrait;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
- use Lc\SovBundle\Repository\User\UserStore as SovUserStore;
-
- class UserStore extends SovUserStore
- {
- use StoreTrait;
- use MerchantStoreTrait;
-
- public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- $this->addFilterByMerchantOptionnal($query);
-
- return $query;
- }
-
- public function relationsDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- return $query;
- }
-
- public function getJoinGroupUsers(){
- $query = $this->createQuery();
- $query->joinGroupUsers(true);
- $query->orderBy('id');
- return $query->find();
-
- }
-
-
- }
|