MediaWiki master
MediaWiki\Notification\AgentAware Interface Reference

Marker interface for Notifications aware of the agent who triggered the notification. More...

Inherited by MediaWiki\Notification\Types\WikiNotification, and MediaWiki\User\WelcomeNotification.

Public Member Functions

 getAgent ()
 

Detailed Description

Marker interface for Notifications aware of the agent who triggered the notification.

Stability: stable
to implement
Since
1.45

Definition at line 13 of file AgentAware.php.

Member Function Documentation

◆ getAgent()

MediaWiki\Notification\AgentAware::getAgent ( )
Returns
UserIdentity The user responsible for triggering this notification.

Implemented in MediaWiki\Notification\Types\WikiNotification, and MediaWiki\User\WelcomeNotification.


The documentation for this interface was generated from the following file: