Overview
  • Namespace
  • Class

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CDN
      • Resource
    • CloudMonitoring
      • Collection
      • 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
      • Collection
      • Enum
      • Resource
    • Networking
      • Resource
    • ObjectStore
      • Constants
      • Enum
      • Exception
      • Resource
      • Upload
    • Orchestration
      • Resource
    • Queues
      • Collection
      • Exception
      • Resource
    • Volume
      • Resource

Classes

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

Interfaces

  • ServiceInterface

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
The HTTP client object
$class
The class name of the service
$options
The options.

Returns

OpenCloud\Common\Service\ServiceInterface

Throws

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