Page MenuHomeWickedGov Phorge

SimpleNotification.php
No OneTemporary

Size
576 B
Referenced Files
None
Subscribers
None

SimpleNotification.php

<?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

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)

Event Timeline