Charly преди 3 години
родител
ревизия
1e5bb6a7d4
променени са 3 файла, в които са добавени 4 реда и са изтрити 30 реда
  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 Целия файл

<?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 Целия файл



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 Целия файл



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…
Отказ
Запис