Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431136
MalformedBundle.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
741 B
Referenced Files
None
Subscribers
None
MalformedBundle.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\MessageBundleTranslation
;
use
Exception
;
use
Throwable
;
use
Wikimedia\Message\MessageSpecifier
;
/**
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2021.05
*/
class
MalformedBundle
extends
Exception
implements
MessageSpecifier
{
private
string
$key
;
private
array
$params
;
public
function
__construct
(
string
$key
,
array
$params
=
[],
?
Throwable
$previous
=
null
)
{
parent
::
__construct
(
$key
,
0
,
$previous
);
$this
->
key
=
$key
;
$this
->
params
=
$params
;
}
/** @inheritDoc */
public
function
getKey
():
string
{
return
$this
->
key
;
}
/** @inheritDoc */
public
function
getParams
():
array
{
return
$this
->
params
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 20:07 (2 h, 40 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/c4/f1010c27163e256292c5d41040d8
Default Alt Text
MalformedBundle.php (741 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment