Overview

Namespaces

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

Classes

  • AbstractService
  • Catalog
  • CatalogItem
  • CatalogService
  • Endpoint
  • NovaService
  • ServiceBuilder

Interfaces

  • ServiceInterface
  • 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\ServiceInterface
# factory( Guzzle\Http\ClientInterface $client, string $class, array $options = array() )

Simple factory method for creating services.

Simple factory method for creating services.

Parameters

$client
Client
$client The HTTP client object
$class
string
$class The class name of the service
$options
array
$options The options.

Returns

OpenCloud\Common\Service\ServiceInterface

Throws

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