MediaWiki
master
SiteStore.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Site
;
22
32
interface
SiteStore
extends
SiteLookup
{
33
41
public
function
saveSite
(
Site
$site );
42
50
public
function
saveSites
( array $sites );
51
56
public
function
clear
();
57
}
58
60
class_alias( SiteStore::class,
'SiteStore'
);
MediaWiki\Site\Site
Represents a single site.
Definition
Site.php:36
MediaWiki\Site\SiteLookup
Interface to retrieve Site objects, for implementation by service classes.
Definition
SiteLookup.php:31
MediaWiki\Site\SiteStore
Interface for storing and retrieving Site objects.
Definition
SiteStore.php:32
MediaWiki\Site\SiteStore\saveSites
saveSites(array $sites)
Saves the provided sites.
MediaWiki\Site\SiteStore\saveSite
saveSite(Site $site)
Saves the provided site.
MediaWiki\Site\SiteStore\clear
clear()
Deletes all sites from the database.
MediaWiki\Site
Definition
CachingSiteStore.php:21
includes
site
SiteStore.php
Generated on Thu Nov 14 2024 00:25:46 for MediaWiki by
1.10.0