Page MenuHomeWickedGov Phorge

SimpleNotification.php
No OneTemporary

Size
575 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
*
* @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

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)

Event Timeline