NotificationRepository as a service

This commit is contained in:
Marc Ducobu
2021-06-15 18:57:56 +02:00
parent db545f9fe6
commit 49d022ef55
3 changed files with 39 additions and 21 deletions

View File

@@ -19,14 +19,13 @@
namespace Chill\MainBundle\Entity;
use App\Repository\Chill\MainBundle\Entity\NotificationRepository;
use Chill\MainBundle\Entity\User;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=NotificationRepository::class)
* @ORM\Entity
* @ORM\Table(
* name="chill_main_notification",
* uniqueConstraints={