Skip to content

Commit

Permalink
[SonataExtraBundle] Add info notification
Browse files Browse the repository at this point in the history
  • Loading branch information
DumitracheAdrian committed Aug 21, 2024
1 parent 2af17c3 commit e736acf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e736acf

Please sign in to comment.