mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-08 01:46:13 +00:00
22 lines
571 B
PHP
22 lines
571 B
PHP
<?php
|
|
|
|
namespace Chill\MainBundle\Notification\FlagProviders;
|
|
|
|
use Chill\MainBundle\Entity\NotificationFlagEnum;
|
|
use Symfony\Component\Translation\TranslatableMessage;
|
|
use Symfony\Contracts\Translation\TranslatableInterface;
|
|
|
|
class AccompanyingCourseNotificationFlagProvider implements NotificationFlagProviderInterface
|
|
{
|
|
|
|
public function getFlag(): string
|
|
{
|
|
return NotificationFlagEnum::ACC_COURSE->value;
|
|
}
|
|
|
|
public function getLabel(): TranslatableInterface
|
|
{
|
|
return new TranslatableMessage('notification.flags.acc-course');
|
|
}
|
|
}
|