Mnemo_Factory_Driver
in package
Horde_Injector factory to create Mnemo_Driver instances.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/apache.
Tags
Table of Contents
- $_injector : Horde_Injector
- The injector.
- $_instances : array<string|int, mixed>
- Instances.
- __construct() : mixed
- Constructor.
- create() : Mnemo_Driver
- Return the Mnemo_Driver:: instance.
Properties
$_injector
The injector.
private
Horde_Injector
$_injector
$_instances
Instances.
private
array<string|int, mixed>
$_instances
= array()
Methods
__construct()
Constructor.
public
__construct(Horde_Injector $injector) : mixed
Parameters
- $injector : Horde_Injector
-
The injector to use.
Return values
mixed —create()
Return the Mnemo_Driver:: instance.
public
create([mixed $name = '' ]) : Mnemo_Driver
Parameters
- $name : mixed = ''
-
The notepad to open