By default this bundle is configured to use Implementations of UserNotificationInterface
as user and AppBundle\Entity\Notification
as notification entity.
You can change this behavior by editing your config.yml
file.
Default configuration:
# config.yml
mgilet_notification:
notification_class: AppBundle\Entity\Notification
notification_class
: the entity defining a notification (this class MUST extends the MappedSuperClassAbstractNotification
)
Change the default configuration according to your existing class.
Example :
# config.yml
mgilet_notification:
notification_class: AcmeBundle\Entity\MyNotification