Files
chill-bundles/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php

18 lines
413 B
PHP

<?php
namespace Chill\PersonBundle\Repository\SocialWork;
use Chill\PersonBundle\Entity\SocialWork\Goal;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository;
final class GoalRepository
{
private EntityRepository $repository;
public function __construct(EntityManagerInterface $entityManager)
{
$this->repository = $entityManager->getRepository(Goal::class);
}
}