summaryrefslogtreecommitdiff
path: root/bin/reevotech/vendor/addwiki/mediawiki-api/src/Service/Service.php
blob: 4a4b466b8bb7cfe86eea9b68e32d73b51010dc58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace MediaWiki\Api\Service;

use Mediawiki\Api\MediawikiApi;

/**
 * The base service functions that all services inherit.
 * @since 0.7.2
 */
abstract class Service {

	/** @var MediawikiApi */
	protected $api;

	/**
	 * @param MediawikiApi $api The API to in for this service.
	 */
	public function __construct( MediawikiApi $api ) {
		$this->api = $api;
	}

}