aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Notification/AgentAware.php
blob: b793337d844e47bfadd6287798b3bfef3893dfae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

namespace MediaWiki\Notification;

use MediaWiki\User\UserIdentity;

/**
 * Marker interface for Notifications aware of the agent who triggered the notification
 *
 * @since 1.44
 * @unstable
 */
interface AgentAware {

	/**
	 * @return UserIdentity The user responsible for triggering this notification.
	 */
	public function getAgent(): UserIdentity;

}