Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4069569
SimpleNotification.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
575 B
Referenced Files
None
Subscribers
None
SimpleNotification.php
View Options
<?php
namespace
MediaWiki\Notification\Types
;
use
MediaWiki\Notification\Notification
;
use
Wikimedia\Message\MessageSpecifier
;
/**
* A simple notification that has only a message presented to a user
*
* @newable
* @since 1.45
*/
class
SimpleNotification
extends
Notification
{
public
const
TYPE
=
'mediawiki.simple'
;
private
MessageSpecifier
$message
;
public
function
__construct
(
MessageSpecifier
$message
)
{
$this
->
message
=
$message
;
parent
::
__construct
(
self
::
TYPE
);
}
public
function
getMessage
():
MessageSpecifier
{
return
$this
->
message
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 22:19 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
05/2f/dd0a7a85f659cb654c5677c69417
Default Alt Text
SimpleNotification.php (575 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment