Horde_Core_Factory_Perms
extends Horde_Core_Factory_Injector
in package
Factory for creating Horde_Perms objects
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
Tags
Table of Contents
Properties
- $_injector : Horde_Injector
- The injector.
Methods
- __construct() : mixed
- Constructor.
- create() : Horde_Perms
- Attempts to return a concrete instance based on $driver.
- _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()
Attempts to return a concrete instance based on $driver.
public
create(Horde_Injector $injector) : Horde_Perms
Parameters
- $injector : Horde_Injector
Tags
Return values
Horde_Perms —The newly created concrete instance.
_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
Return values
string —Classname.