public function getSupportedNamespaces() {
		if ( empty( $this->data->namespaces ) || ! is_array( $this->data->namespaces ) ) {
			return array();
		}

		return $this->data->namespaces;
	}
public function getSupportedNamespaces() {
		if ( empty( $this->data->namespaces ) || ! is_array( $this->data->namespaces ) ) {
			return array();
		}

		return $this->data->namespaces;
	}
public function getSupportedNamespaces ( ) { if ( empty ( $ this -> data -> namespaces ) || ! is_array ( $ this -> data -> namespaces ) ) { return array ( ) ; } return $ this -> data -> namespaces ; }
Get namespaces supported by the site.

@return string[] List of namespaces supported by the site.
Get namespaces supported by the site .