Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4084182
SiteLookup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
675 B
Referenced Files
None
Subscribers
None
SiteLookup.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\Site
;
/**
* Interface to retrieve Site objects, for implementation by service classes.
*
* Default implementation is DBSiteStore.
*
* @since 1.25
* @ingroup Site
*/
interface
SiteLookup
{
/**
* Return the site with provided global ID, or null if there is no such site.
*
* @since 1.25
* @param string $globalId
* @return Site|null
*/
public
function
getSite
(
$globalId
);
/**
* Return a list of all sites.
*
* @since 1.25
* @return SiteList
*/
public
function
getSites
();
}
/** @deprecated class alias since 1.42 */
class_alias
(
SiteLookup
::
class
,
'SiteLookup'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 07:35 (7 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ff/a7/e5c7b487b784e542946c00b98c62
Default Alt Text
SiteLookup.php (675 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment