Skip to content

DareIt/notification-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notification manager

Notification manager is a very simple and lightweight library to handle notifications.

Usage

Most Basic use of the lib

 $handler = new FooHandler();
 $notification = new FooNotification();
 
 $map = new InMemoryNotificationHandlerMap();
 $map->mapNotificationToHandler($notification, $handler);
 
 $logger = new Logger();
 
 $manager = new NotificationManager($map, $logger);
 $manager->dispatch($notification);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages