Page MenuHomeWickedGov Phorge

MalformedBundle.php
No OneTemporary

Size
741 B
Referenced Files
None
Subscribers
None

MalformedBundle.php

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

Mime Type
text/x-php
Expires
Sat, May 16, 20:07 (2 h, 56 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/c4/f1010c27163e256292c5d41040d8
Default Alt Text
MalformedBundle.php (741 B)

Event Timeline