MediaWiki  1.34.0
SiteStore.php
Go to the documentation of this file.
1 <?php
2 
29 interface SiteStore extends SiteLookup {
30 
40  public function saveSite( Site $site );
41 
51  public function saveSites( array $sites );
52 
57  public function clear();
58 }
SiteLookup
Definition: SiteLookup.php:28
SiteStore
Definition: SiteStore.php:29
SiteStore\saveSites
saveSites(array $sites)
Saves the provided sites.
Site
Definition: Site.php:29
SiteStore\saveSite
saveSite(Site $site)
Saves the provided site.
SiteStore\clear
clear()
Deletes all sites from the database.