MediaWiki
master
SiteLookup.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Site
;
22
31
interface
SiteLookup
{
32
40
public
function
getSite
( $globalId );
41
48
public
function
getSites
();
49
50
}
51
53
class_alias( SiteLookup::class,
'SiteLookup'
);
MediaWiki\Site\SiteLookup
Interface to retrieve Site objects, for implementation by service classes.
Definition
SiteLookup.php:31
MediaWiki\Site\SiteLookup\getSite
getSite( $globalId)
Return the site with provided global ID, or null if there is no such site.
MediaWiki\Site\SiteLookup\getSites
getSites()
Return a list of all sites.
MediaWiki\Site
Definition
CachingSiteStore.php:21
includes
site
SiteLookup.php
Generated on Fri Nov 15 2024 01:26:40 for MediaWiki by
1.10.0