DX: [person][household composition] create interface for repositories

This commit is contained in:
2022-10-18 21:42:39 +02:00
parent 7b3fcad251
commit 530c778d8c
4 changed files with 89 additions and 4 deletions

View File

@@ -15,9 +15,8 @@ use Chill\PersonBundle\Entity\Household\Household;
use Chill\PersonBundle\Entity\Household\HouseholdComposition;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository;
use Doctrine\Persistence\ObjectRepository;
class HouseholdCompositionRepository implements ObjectRepository
final class HouseholdCompositionRepository implements HouseholdCompositionRepositoryInterface
{
private EntityRepository $repository;