Method | Description | |
---|---|---|
__construct ( |
Constructor | |
__get ( string $name ) | Used to retrieve service handlers | |
getApiHandler ( ) : object | Gets an API Handler for the service | |
getAvailableHandlers ( ) : array | Gets the list of available handlers | |
getEndpointUrl ( ) : string | Gets endpoint url. | |
getName ( ) : string | Gets service interface name. | |
getOpenStack ( ) : |
Gets an OpenStack instance | |
getSupportedVersions ( ) | ||
getTenantId ( ) : string | Gets an identifier of the tenant for current authenticated token | |
getVersion ( ) | ||
isExtensionSupported ( StringType | string $extensionName ) : boolean | Checks whether given extension is supported by the service. | |
listExtensions ( ) : array | List Extensions action | |
setVersion ( $version ) |
Method | Description | |
---|---|---|
getOriginalServiceName ( string $class ) : string | Gets an original service name |
public __construct ( |
||
$openstack |
public getApiHandler ( ) : object | ||
return | object | Returns an API Handler for the service |
public getAvailableHandlers ( ) : array | ||
return | array | Returns the list of available handlers |
public getEndpointUrl ( ) : string | ||
return | string | Returns Endpoint url without trailing slash |
public getOpenStack ( ) : |
||
return | Returns OpenStack instance |
protected static getOriginalServiceName ( string $class ) : string | ||
$class | string | A Service class name |
return | string | Returns service name or NULL if class is not a service. |
public getTenantId ( ) : string | ||
return | string | Gets an identifier of the tenant |
public isExtensionSupported ( StringType | string $extensionName ) : boolean | ||
$extensionName | StringType | string | An extension name |
return | boolean | Returns true if an extension is supported. |
public listExtensions ( ) : array | ||
return | array | Returns list of available extensions |