2017-12-21 04:50:27 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace PageImages\Tests;
|
|
|
|
|
2024-10-20 09:10:45 +00:00
|
|
|
use MediaWiki\Api\ApiPageSet;
|
2020-04-19 22:41:19 +00:00
|
|
|
use PageImages\ApiQueryPageImages;
|
2017-12-21 04:50:27 +00:00
|
|
|
|
|
|
|
class ApiQueryPageImagesProxyMock extends ApiQueryPageImages {
|
|
|
|
|
2023-12-15 13:58:05 +00:00
|
|
|
private ApiPageSet $pageSet;
|
|
|
|
|
2017-12-21 04:50:27 +00:00
|
|
|
/** @inheritDoc */
|
|
|
|
public function __construct( ApiPageSet $pageSet ) {
|
|
|
|
$this->pageSet = $pageSet;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @inheritDoc */
|
|
|
|
public function getPageSet() {
|
|
|
|
return $this->pageSet;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @inheritDoc */
|
|
|
|
public function getTitles() {
|
|
|
|
return parent::getTitles();
|
|
|
|
}
|
|
|
|
}
|