Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • ServiceBuilder
  • ServiceBuilderLoader

Interfaces

  • ServiceBuilderInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Interface ServiceBuilderInterface

Service builder to generate service builders and service clients from configuration settings

Direct known implementers

Guzzle\Service\Builder\ServiceBuilder
Namespace: Guzzle\Service\Builder
Located at Guzzle/Service/Builder/ServiceBuilderInterface.php
Methods summary
public Guzzle\Common\FromConfigInterface
# get( string $name, boolean|array $throwAway = false )

Get a service using a registered builder

Get a service using a registered builder

Parameters

$name
string
$name Name of the registered client to retrieve
$throwAway
boolean|array
$throwAway Set to TRUE to not store the client for later retrieval from the ServiceBuilder. If an array is specified, that data will overwrite the configured params

Returns

Guzzle\Common\FromConfigInterface

Throws

Guzzle\Service\Exception\ServiceNotFoundException
when a client cannot be found by name
public Guzzle\Service\Builder\ServiceBuilderInterface
# set( string $key, mixed $service )

Register a service by name with the service builder

Register a service by name with the service builder

Parameters

$key
string
$key Name of the client to register
$service
mixed
$service Service to register

Returns

Guzzle\Service\Builder\ServiceBuilderInterface
php-coveralls API documentation generated by ApiGen 2.8.0