Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7420439
SimpleNotification.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
576 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
*
* @since 1.44
* @unstable
*/
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
Sun, Nov 22, 04:59 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e5/de/e049f70db6a71af8e2f18d7c61a9
Default Alt Text
SimpleNotification.php (576 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment