MediaWiki master
SiteStore.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Site;
8
18interface SiteStore extends SiteLookup {
19
27 public function saveSite( Site $site );
28
36 public function saveSites( array $sites );
37
42 public function clear();
43}
44
46class_alias( SiteStore::class, 'SiteStore' );
Represents a single site.
Definition Site.php:22
Interface to retrieve Site objects, for implementation by service classes.
Interface for storing and retrieving Site objects.
Definition SiteStore.php:18
saveSites(array $sites)
Saves the provided sites.
saveSite(Site $site)
Saves the provided site.
clear()
Deletes all sites from the database.