Browse Source

GroupUser

packProduct
Charly 3 years ago
parent
commit
1e5bb6a7d4
3 changed files with 4 additions and 30 deletions
  1. +0
    -15
      Repository/User/GroupUserRepository.php
  2. +2
    -8
      Repository/User/GroupUserRepositoryQuery.php
  3. +2
    -7
      Repository/User/GroupUserStore.php

+ 0
- 15
Repository/User/GroupUserRepository.php View File

<?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
- 8
Repository/User/GroupUserRepositoryQuery.php View File



namespace Lc\CaracoleBundle\Repository\User; namespace Lc\CaracoleBundle\Repository\User;


use Knp\Component\Pager\PaginatorInterface;
use Lc\CaracoleBundle\Repository\MerchantRepositoryQueryTrait; 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; use MerchantRepositoryQueryTrait;

public function __construct(GroupUserRepository $repository, PaginatorInterface $paginator)
{
parent::__construct($repository, 'r', $paginator);
}
} }

+ 2
- 7
Repository/User/GroupUserStore.php View File



namespace Lc\CaracoleBundle\Repository\User; 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;
}
} }

Loading…
Cancel
Save