This patch also adds some missing newlines at the beginning of files. Change-Id: Ifcdf75396c96f17b7bfb103f54bfdf4ba4dfbccc
20 lines
324 B
PHP
20 lines
324 B
PHP
<?php
|
|
|
|
class MockApiQueryBase extends ApiQueryBase {
|
|
private $name;
|
|
|
|
public function execute() {
|
|
}
|
|
|
|
public function __construct( $name = 'mock' ) {
|
|
$this->name = $name;
|
|
}
|
|
|
|
public function getModuleName() {
|
|
return $this->name;
|
|
}
|
|
|
|
public function getModulePath() {
|
|
return 'query+' . $this->getModuleName();
|
|
}
|
|
}
|