Page MenuHomeWickedGov Phorge

MockApi.php
No OneTemporary

Size
526 B
Referenced Files
None
Subscribers
None

MockApi.php

<?php
namespace MediaWiki\Tests\Api;
use MediaWiki\Api\ApiBase;
class MockApi extends ApiBase {
/** @var array */
public $warnings = [];
public function execute() {
}
public function __construct() {
}
public function getModulePath() {
return $this->getModuleName();
}
public function addWarning( $warning, $code = null, $data = null ) {
$this->warnings[] = $warning;
}
public function getAllowedParams() {
return [
'filename' => null,
'enablechunks' => false,
'sessionkey' => null,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 07:11 (7 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1e/8b/d9747af3f6f941098380d2d3e121
Default Alt Text
MockApi.php (526 B)

Event Timeline