Documentation

Horde_Core_Factory_HttpClient extends Horde_Core_Factory_Base
in package

The abstract Horde factory class.

Tags
category

Horde

Table of Contents

Properties

$_injector  : Horde_Injector
The injector.

Methods

__construct()  : mixed
Constructor.
create()  : Horde_Http_Client
Get client object.
_getDriverName()  : string
Return the classname of the driver to load.

Properties

$_injector

The injector.

protected Horde_Injector $_injector

Methods

__construct()

Constructor.

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

The injector to use.

create()

Get client object.

public create([array<string|int, mixed> $opts = array() ]) : Horde_Http_Client
Parameters
$opts : array<string|int, mixed> = array()

Configuration options.

Tags
throws
Horde_Http_Exception
Return values
Horde_Http_Client

Client object.

_getDriverName()

Return the classname of the driver to load.

protected _getDriverName(string $driver, string $base) : string
Parameters
$driver : string

Driver name.

$base : string

The base classname.

Tags
throws
Horde_Exception
Return values
string

Classname.


        
On this page

Search results