NotificationHandlerInterface
Interface for handling notifications from the server.
Tags
Table of Contents
Methods
- handle() : void
- Handle the notification.
- supports() : bool
- Check if this handler supports the given notification.
Methods
handle()
Handle the notification.
public
handle(Notification $notification) : void
Parameters
- $notification : Notification
supports()
Check if this handler supports the given notification.
public
supports(Notification $notification) : bool
Parameters
- $notification : Notification