Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5957333
ValidationIssue.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
934 B
Referenced Files
None
Subscribers
None
ValidationIssue.php
View Options
<?php
/**
* @file
* @author Niklas Laxström
* @license GPL-2.0-or-later
*/
namespace
MediaWiki\Extension\Translate\Validation
;
/**
* Value object.
*
* @newable
* @since 2020.06
*/
class
ValidationIssue
{
/** @var string */
private
$type
;
/** @var string */
private
$subType
;
/** @var string */
private
$messageKey
;
/** @var array */
private
$messageParams
;
/** @stable for calling */
public
function
__construct
(
string
$type
,
string
$subType
,
string
$messageKey
,
array
$messageParams
=
[]
)
{
$this
->
type
=
$type
;
$this
->
subType
=
$subType
;
$this
->
messageKey
=
$messageKey
;
$this
->
messageParams
=
$messageParams
;
}
public
function
type
():
string
{
return
$this
->
type
;
}
public
function
subType
():
string
{
return
$this
->
subType
;
}
public
function
messageKey
():
string
{
return
$this
->
messageKey
;
}
public
function
messageParams
():
array
{
return
$this
->
messageParams
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 05:02 (2 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
92/b1/331ef69d58b36df274683b06e4aa
Default Alt Text
ValidationIssue.php (934 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment