Horde_Core_Factory_Identity
extends Horde_Core_Factory_Base
in package
A Horde_Injector based Horde_Identity factory.
Tags
Table of Contents
- $_instances : array<string|int, mixed>
- Instances.
- create() : Horde_Identity
- Returns the Horde_Identity instance.
Properties
$_instances
Instances.
private
array<string|int, mixed>
$_instances
= array()
Methods
create()
Returns the Horde_Identity instance.
public
create([string $user = null ][, string $driver = null ]) : Horde_Identity
Parameters
- $user : string = null
-
The user to use, if not the current user.
- $driver : string = null
-
The identity driver. Either empty (use default driver) or an application name.
Tags
Return values
Horde_Identity —The singleton identity instance.