Page MenuHomeWickedGov Phorge

ValidationIssue.php
No OneTemporary

Size
934 B
Referenced Files
None
Subscribers
None

ValidationIssue.php

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

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)

Event Timeline