Skip to content

Commit 0cc01b8

Browse files
Merge pull request #229 from alma/feature/ecom-3697-add-welcome-messages
feat: improve notification interfaces
2 parents 4fb5e69 + 5079e20 commit 0cc01b8

3 files changed

Lines changed: 21 additions & 10 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Alma\API\Domain\Helper;
4+
5+
interface AdminNotificationHelperInterface
6+
{
7+
public static function notifyError( string $message ): void;
8+
public static function notifyWarning( string $message ): void;
9+
public static function notifyInfo( string $message ) : void;
10+
public static function notifySuccess( string $message ): void;
11+
}

src/Domain/Helper/NotificationHelperInterface.php

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Alma\API\Domain\Helper;
4+
5+
interface ShopNotificationHelperInterface
6+
{
7+
public static function notifyError( string $message ): void;
8+
public static function notifyInfo( string $message ) : void;
9+
public static function notifySuccess( string $message ): void;
10+
}

0 commit comments

Comments
 (0)