Elastification PHP Client API
Class

Elastification\Client\ClientVersionMap

class ClientVersionMap

The version map.

Elastification's php client support the use of multiple elasticsearch versions.

This class shows all supported versions and their mapping to our version command namespaces/folders.

Methods

static string getVersion(string $version)

Get the defined version for folders.

Details

at line 51
static public string getVersion(string $version)

Get the defined version for folders.

We throw an exception in case of a non-matching version.

Parameters

string $version A version string in the schema of 0.90.x.

Return Value

string The internal namespace/folder

Exceptions

ClientException