MediaWiki 1.41.2
SiteStore.php
Go to the documentation of this file.
1<?php
30interface SiteStore extends SiteLookup {
31
39 public function saveSite( Site $site );
40
48 public function saveSites( array $sites );
49
54 public function clear();
55}
Represents a single site.
Definition Site.php:32
Interface to retrieve Site objects, for implementation by service classes.
Interface for storing and retrieving Site objects.
Definition SiteStore.php:30
saveSites(array $sites)
Saves the provided sites.
saveSite(Site $site)
Saves the provided site.
clear()
Deletes all sites from the database.