rumd3x / notifier-interface
Standard interface for objects that send notifications.
Installs: 1 052
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2025-07-14 06:01:02 UTC
README
Standard interface for objects that send notifications.
Install
composer require rumd3x/notifier-interface
Usage
<?php class MyNotification implements Rumd3x\Standards\NotificationInterface { // Implementation } class MyNotifier implements Rumd3x\Standards\NotifierInterface { public function notify(Rumd3x\Standards\NotificationInterface $notification) { // Implementation } } $notification = new MyNotification(); $notifier = new MyNotifier(); $notifier->notify($notification);