mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 17:15:02 +00:00
First Widget Bar + Number of notification unread. All is hardcoded
This commit is contained in:
@@ -25,27 +25,27 @@ class WidgetBar implements WidgetHandlerInterface
|
||||
|
||||
private Security $security;
|
||||
|
||||
private AccompanyingPeriodRepository $acpRepository;
|
||||
//private AccompanyingPeriodRepository $acpRepository;
|
||||
|
||||
private WidgetBarDataFetcher $dataFetcher;
|
||||
|
||||
private NotificationRepository $notificationRepository;
|
||||
//private NotificationRepository $notificationRepository;
|
||||
|
||||
private EntityManagerInterface $em;
|
||||
//private EntityManagerInterface $em;
|
||||
|
||||
public function __construct(
|
||||
AccompanyingPeriodRepository $accompanyingPeriodRepository,
|
||||
// AccompanyingPeriodRepository $accompanyingPeriodRepository,
|
||||
Security $security,
|
||||
NotificationRepository $notificationRepository,
|
||||
EntityManagerInterface $em,
|
||||
// NotificationRepository $notificationRepository,
|
||||
// EntityManagerInterface $em,
|
||||
WidgetBarDataFetcher $dataFetcher
|
||||
|
||||
)
|
||||
{
|
||||
$this->acpRepository = $accompanyingPeriodRepository;
|
||||
// $this->acpRepository = $accompanyingPeriodRepository;
|
||||
$this->security = $security;
|
||||
$this->notificationRepository = $notificationRepository;
|
||||
$this->em = $em;
|
||||
// $this->notificationRepository = $notificationRepository;
|
||||
// $this->em = $em;
|
||||
$this->dataFetcher = $dataFetcher;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user