NotificationEvent
FinalYes
Event dispatched when any notification is received from the client.
Listeners can modify the notification before it's processed by handlers.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- getMethod() : string
- getNotification() : Notification
- getSession() : SessionInterface
- setNotification() : void
Properties
$notification
private
Notification
$notification
$session read-only
private
SessionInterface
$session
Methods
__construct()
public
__construct(Notification $notification, SessionInterface $session) : mixed
Parameters
- $notification : Notification
- $session : SessionInterface
getMethod()
public
getMethod() : string
Return values
stringgetNotification()
public
getNotification() : Notification
Return values
NotificationgetSession()
public
getSession() : SessionInterface
Return values
SessionInterfacesetNotification()
public
setNotification(Notification $notification) : void
Parameters
- $notification : Notification