Selaa lähdekoodia

GroupUser

packProduct
Charly 3 vuotta sitten
vanhempi
commit
1e5bb6a7d4
3 muutettua tiedostoa jossa 4 lisäystä ja 30 poistoa
  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 Näytä tiedosto

@@ -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
- 8
Repository/User/GroupUserRepositoryQuery.php Näytä tiedosto

@@ -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
- 7
Repository/User/GroupUserStore.php Näytä tiedosto

@@ -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;
}
}

Loading…
Peruuta
Tallenna