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