Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4057406
ContentThreadItemSetStatus.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
ContentThreadItemSetStatus.php
View Options
<?php
namespace
MediaWiki\Extension\DiscussionTools
;
use
MediaWiki\Status\Status
;
use
StatusValue
;
use
Wikimedia\NormalizedException\NormalizedException
;
class
ContentThreadItemSetStatus
extends
StatusValue
{
/**
* Convenience method.
*/
public
static
function
wrap
(
StatusValue
$other
):
self
{
return
(
new
self
)->
merge
(
$other
,
true
);
}
/**
* Like getValue(), but will throw if the value is null. Check isOK() first to avoid errors.
*/
public
function
getValueOrThrow
():
ContentThreadItemSet
{
$value
=
$this
->
getValue
();
if
(
$value
===
null
)
{
throw
new
NormalizedException
(
...
Status
::
wrap
(
$this
)->
getPsr3MessageAndContext
()
);
}
return
$value
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 04:03 (12 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7f/64/ab1b410bde426a2c4c9b466409f6
Default Alt Text
ContentThreadItemSetStatus.php (693 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment