public function AkamaiClientFactory::getSupportedVersions in Akamai 8.3
Returns the supported Akamai client versions.
Parameters
string|null $client_version: (optional) The version of the client to use, or NULL to use the current version.
Return value
array An array of supported client CCU versions (e.g. v3).
See also
\Drupal\akamai\AkamaiClientInterface::getSupportedExtensions()
File
- src/
AkamaiClientFactory.php, line 95
Class
- AkamaiClientFactory
- Provides a factory for Akamai client objects.
Namespace
Drupal\akamaiCode
public function getSupportedVersions($client_version = NULL) {
$client_version = $client_version ?: $this->clientVersion;
$definition = $this->clientManager
->getDefinition($client_version);
return call_user_func($definition['class'] . '::getSupportedVersions');
}