@@ -1,15 +0,0 @@ | |||
<?php | |||
namespace Lc\CaracoleBundle\Repository\User; | |||
use App\Entity\User\GroupUser; | |||
use Doctrine\Persistence\ManagerRegistry; | |||
use Lc\SovBundle\Repository\AbstractRepository; | |||
class GroupUserRepository extends AbstractRepository | |||
{ | |||
public function __construct(ManagerRegistry $registry) | |||
{ | |||
parent::__construct($registry, GroupUser::class); | |||
} | |||
} |
@@ -2,16 +2,10 @@ | |||
namespace Lc\CaracoleBundle\Repository\User; | |||
use Knp\Component\Pager\PaginatorInterface; | |||
use Lc\CaracoleBundle\Repository\MerchantRepositoryQueryTrait; | |||
use Lc\SovBundle\Repository\AbstractRepositoryQuery; | |||
use Lc\SovBundle\Repository\User\GroupUserRepositoryQuery as SovAbstractRepositoryQuery; | |||
class GroupUserRepositoryQuery extends AbstractRepositoryQuery | |||
class GroupUserRepositoryQuery extends SovAbstractRepositoryQuery | |||
{ | |||
use MerchantRepositoryQueryTrait; | |||
public function __construct(GroupUserRepository $repository, PaginatorInterface $paginator) | |||
{ | |||
parent::__construct($repository, 'r', $paginator); | |||
} | |||
} |
@@ -2,14 +2,9 @@ | |||
namespace Lc\CaracoleBundle\Repository\User; | |||
use Lc\SovBundle\Repository\AbstractStore; | |||
use Lc\SovBundle\Repository\User\GroupUserStore as SovGroupUserStore; | |||
class GroupUserStore extends AbstractStore | |||
class GroupUserStore extends SovGroupUserStore | |||
{ | |||
protected GroupUserRepositoryQuery $query; | |||
public function __construct(GroupUserRepositoryQuery $query) | |||
{ | |||
$this->query = $query; | |||
} | |||
} |