%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/api/
Upload File :
Create Path :
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/api/MockApi.php

<?php

class MockApi extends ApiBase {
	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,
		];
	}
}

Zerion Mini Shell 1.0