mediawiki-extensions-PageIm.../tests/phpunit/ApiQueryPageImagesProxyMock.php
Umherirrender bbbcca4b38 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I6b49b9837ed6d3dfdd8a4bc0420848c09fcb1540
2024-10-20 11:10:45 +02:00

27 lines
471 B
PHP

<?php
namespace PageImages\Tests;
use MediaWiki\Api\ApiPageSet;
use PageImages\ApiQueryPageImages;
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
private ApiPageSet $pageSet;
/** @inheritDoc */
public function __construct( ApiPageSet $pageSet ) {
$this->pageSet = $pageSet;
}
/** @inheritDoc */
public function getPageSet() {
return $this->pageSet;
}
/** @inheritDoc */
public function getTitles() {
return parent::getTitles();
}
}