Commit dcffbf6d by Yvon

bf : missing use statement, missing constructor

parent 408b0a1a
...@@ -9,6 +9,8 @@ use Doctrine\Common\Collections\ArrayCollection; ...@@ -9,6 +9,8 @@ use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
use Gedmo\Timestampable\Traits\TimestampableEntity; use Gedmo\Timestampable\Traits\TimestampableEntity;
use Ramsey\Uuid\Doctrine\UuidGenerator; use Ramsey\Uuid\Doctrine\UuidGenerator;
use Symfony\Component\Validator\Constraints as Assert;
/** /**
* @ORM\Entity(repositoryClass="App\Repository\ProfilDeCotisationRepository") * @ORM\Entity(repositoryClass="App\Repository\ProfilDeCotisationRepository")
......
...@@ -2,8 +2,14 @@ ...@@ -2,8 +2,14 @@
namespace App\Repository; namespace App\Repository;
use App\Entity\ProfilDeCotisation;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
class ProfilDeCotisationRepository extends ServiceEntityRepository class ProfilDeCotisationRepository extends ServiceEntityRepository
{ {
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, ProfilDeCotisation::class);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment