ParseServerInfo

Class ParseFeatures - Representation of server-side features

author

Ben Friedman friedman.benjamin@gmail.com

package

Parse

Methods

Sets the current server version.

_setServerVersion(string $version) 
static

Allows setting the server version to avoid making an additional request if the version is obtained elsewhere.

Arguments

$version

string

Version to set

Get a specific feature set from the server

get(string $key) : mixed
static

Arguments

$key

string

Feature set to get

Response

mixed

Gets features available for cloudCode

getCloudCodeFeatures() : array
static

Response

array

Gets features for the current server

getFeatures() : array
static

Response

array

Gets features available for globalConfig

getGlobalConfigFeatures() : array
static

Response

array

Gets features available for hooks

getHooksFeatures() : array
static

Response

array

Gets features available for logs

getLogsFeatures() : array
static

Response

array

Gets features available for push

getPushFeatures() : array
static

Response

array

Gets features available for schemas

getSchemasFeatures() : array
static

Response

array

Requests, sets and returns server features and version

getServerInfo() : array
static
Throws
\Parse\ParseException

Response

array

Gets the reported version of the current server

getVersion() : string
static

Response

string

Properties

Reported server features and configs

serverFeatures : array
static
var

Type(s)

array

Reported server version

serverVersion : string
static
var

Type(s)

string