Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • AbstractService
  • Catalog
  • CatalogItem
  • Endpoint
  • NovaService
  • ServiceBuilder
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class ServiceBuilder

This object is a factory for building Service objects.

Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/ServiceBuilder.php
Methods summary
public static OpenCloud\Common\Service\AbstractService
# factory( OpenCloud\Common\Http\Client $client, string $class, array $options = array() )

Simple factory method for creating services.

Simple factory method for creating services.

Parameters

$client
OpenCloud\Common\Http\Client
$client The HTTP client object
$class
string
$class The class name of the service
$options
array
$options The options.

Returns

OpenCloud\Common\Service\AbstractService

Throws

OpenCloud\Common\Exceptions\ServiceException
PHP OpenCloud API API documentation generated by ApiGen 2.8.0