diff --git a/packages/sonata-extra-bundle/Notifier/Notification/SonataNotification.php b/packages/sonata-extra-bundle/Notifier/Notification/SonataNotification.php index ca337205..81721178 100644 --- a/packages/sonata-extra-bundle/Notifier/Notification/SonataNotification.php +++ b/packages/sonata-extra-bundle/Notifier/Notification/SonataNotification.php @@ -13,6 +13,11 @@ public static function success(string $message): self return (new self($message))->setSonataFlashType('success'); } + public static function info(string $message): self + { + return (new self($message))->setSonataFlashType('info'); + } + public static function error(string $message): self { return (new self($message))->setSonataFlashType('error');