\Agora_Factory_Driver

Horde_Injector factory to create Agora_Driver instances.

Copyright 2011-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_instances
$_injector
N/A

Properties

$_instances

$_instances : array

Instances.

Type

array

$_injector

$_injector : \Horde_Injector

The injector.

Type

\Horde_Injector

Methods

__construct()

__construct(\Horde_Injector  $injector) 

Constructor.

Parameters

\Horde_Injector $injector

The injector to use.

create()

create(string  $scope = 'agora', integer  $forum_id) : \Agora_Driver

Return the Agora_Driver:: instance.

Parameters

string $scope

Instance scope

integer $forum_id

Forum to link to

Throws

\Agora_Exception

Returns

\Agora_Driver

The singleton instance.