Documentation

Horde_Cli_Modular_ModuleProvider
in package

The Horde_Cli_Modular_ModuleProvider:: class provides access to a single module.

Tags
author

Gunnar Wrobel wrobel@pardus.de

category

Horde

copyright

2010-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL

Table of Contents

$_dependencies  : mixed
Constructor argument for CLI modules. Likely to be a Horde_Injector instance.
$_instances  : array<string|int, mixed>
A cache for initialized module instances.
$_prefix  : string
Class prefix.
__construct()  : mixed
Constructor.
getModule()  : Horde_Cli_Modular_Module
Return the specified module.
createModule()  : Horde_Cli_Modular_Module
Create the specified module.

Properties

$_dependencies

Constructor argument for CLI modules. Likely to be a Horde_Injector instance.

private mixed $_dependencies

$_instances

A cache for initialized module instances.

private array<string|int, mixed> $_instances

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $parameters = null ]) : mixed
Parameters
$parameters : array<string|int, mixed> = null

Options for this instance.

 - prefix: The module class name prefix.
 - dependencies: Constructor argument for CLI modules.
Return values
mixed

Search results