mediawiki-extensions-PageIm.../tests/phpunit/ApiQueryPageImagesProxyMock.php

25 lines
426 B
PHP
Raw Normal View History

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