This commit is contained in:
2022-10-05 15:08:53 +02:00
parent a90e87b1be
commit c1d96af85f
153 changed files with 3797 additions and 3874 deletions

View File

@@ -35,11 +35,6 @@ final class AccompanyingPeriodWorkRepository implements ObjectRepository
$this->repository = $entityManager->getRepository(AccompanyingPeriodWork::class);
}
public function createQueryBuilder(string $alias, ?string $indexBy = null): QueryBuilder
{
return $this->repository->createQueryBuilder($alias, $indexBy);
}
public function countByAccompanyingPeriod(AccompanyingPeriod $period): int
{
return $this->repository->countByAccompanyingPeriod($period);
@@ -61,6 +56,11 @@ final class AccompanyingPeriodWorkRepository implements ObjectRepository
->select('count(w)')->getQuery()->getSingleScalarResult();
}
public function createQueryBuilder(string $alias, ?string $indexBy = null): QueryBuilder
{
return $this->repository->createQueryBuilder($alias, $indexBy);
}
public function find($id): ?AccompanyingPeriodWork
{
return $this->repository->find($id);

View File

@@ -31,11 +31,6 @@ final class PersonRepository implements ObjectRepository
$this->repository = $entityManager->getRepository(Person::class);
}
public function createQueryBuilder(string $alias, ?string $indexBy = null): QueryBuilder
{
return $this->repository->createQueryBuilder($alias, $indexBy);
}
/**
* @param $centers
*
@@ -56,6 +51,11 @@ final class PersonRepository implements ObjectRepository
return $qb->getQuery()->getSingleScalarResult();
}
public function createQueryBuilder(string $alias, ?string $indexBy = null): QueryBuilder
{
return $this->repository->createQueryBuilder($alias, $indexBy);
}
public function find($id, $lockMode = null, $lockVersion = null): ?Person
{
return $this->repository->find($id, $lockMode, $lockVersion);