__construct() __construct(boolean $clear = false) Constructor Parameters boolean $clear Clear previous errors
keys() keys() : array<mixed,string> Substitute for array_keys() support Returns array<mixed,string> — List of corpus codes
__get() __get(string $key) : \WP_Site|null Get WP_Site by corpus code Parameters string $key Corpus code Returns \WP_Site|null — WP_Site
__set() __set(string $key, integer $value) Set blog_id by corpus code Read-only - always throws Parameters string $key Corpus code integer $value blog_id Throws \BadMethodCallException
__isset() __isset(string $key) : boolean Check if corpus code set Parameters string $key Corpus code Returns boolean
__unset() __unset(string $key) Unset corpus code Read-only - always throws Parameters string $key Corpus code Throws \BadMethodCallException
offsetSet() offsetSet(string $offset, integer $value) Set blog_id by corpus code Read-only - always throws Parameters string $offset Corpus code integer $value blog_id Throws \OutOfBoundsException
offsetExists() offsetExists(string $offset) : boolean Check if corpus code set Parameters string $offset Corpus code Returns boolean
offsetUnset() offsetUnset(string $offset) Unset corpus code Read-only - always throws Parameters string $offset Corpus code Throws \OutOfBoundsException
offsetGet() offsetGet(string $offset) : integer|null Get blog_id by corpus code Parameters string $offset Corpus code Returns integer|null — blog_id