Injector
extends Injector
in package
implements
Dependencies
The Components_Dependencies_Injector:: class provides the Components dependencies based on the Horde injector.
Copyright 2010-2020 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Interfaces, Classes, Traits and Enums
- Dependencies
- The Components_Dependencies:: interface is a central broker for providing the dependencies to the different application parts.
Table of Contents
- $_usePager : bool
- Use a pager for \Horde_Cli?
- __construct() : mixed
- Constructor.
- createCli() : Horde_Cli
- Create the CLI handler.
- createOutput() : Output
- Create the Components\Output handler.
- getComponentFactory() : Factory
- Returns a component instance factory.
- getModules() : Horde_Cli_Modular
- Return the list of modules.
- getOutput() : Output
- Returns the output handler.
- getParser() : Horde_Argv_Parser
- Return the CLI parser.
- getReleaseTasks() : Tasks
- Returns the release tasks handler.
- getRemote() : Horde_Pear_Remote
- Returns the handler for remote PEAR servers.
- getRunnerChange() : Change
- Returns the change log handler for a package.
- getRunnerCiPrebuild() : CiPrebuild
- Returns the continuous integration pre-build handler.
- getRunnerCiSetup() : CiSetup
- Returns the continuous integration setup handler.
- getRunnerComposer() : Composer
- Returns the composer handler for a package.
- getRunnerDependencies() : Dependencies
- Returns the dependency list handler for a package.
- getRunnerDistribute() : Distribute
- Returns the distribution handler for a package.
- getRunnerFetchdocs() : Fetchdocs
- Returns the documentation fetch handler for a package.
- getRunnerGit() : Git
- Returns the dependency list handler for a package.
- getRunnerInit() : Init
- Returns the init handler for a package.
- getRunnerInstaller() : Installer
- Returns the installer for a package.
- getRunnerQc() : Qc
- Returns the qc handler for a package.
- getRunnerRelease() : Release
- Returns the release handler for a package.
- getRunnerSnapshot() : Snapshot
- Returns the snapshot packaging handler for a package.
- getRunnerUpdate() : Update
- Returns the package XML handler for a package.
- getRunnerWebdocs() : RunnerWebdocs
- Returns the website documentation handler for a package.
- initConfig() : void
- Initial configuration setup.
- setModules() : void
- Set the list of modules.
- setParser() : void
- Set the CLI parser.
- useCliPager() : void
- Enables a pager for \Horde_Cli objects.
Properties
$_usePager
Use a pager for \Horde_Cli?
protected
bool
$_usePager
= false
Methods
__construct()
Constructor.
public
__construct([Injector $parentInjector = null ]) : mixed
Parameters
- $parentInjector : Injector = null
-
A parent injector, if any
Return values
mixed —createCli()
Create the CLI handler.
public
createCli() : Horde_Cli
Return values
Horde_Cli —The CLI handler.
createOutput()
Create the Components\Output handler.
public
createOutput(Injector $injector) : Output
Parameters
- $injector : Injector
-
The injector to use
Return values
Output —The output handler.
getComponentFactory()
Returns a component instance factory.
public
getComponentFactory() : Factory
Return values
Factory —The component factory.
getModules()
Return the list of modules.
public
getModules() : Horde_Cli_Modular
Return values
Horde_Cli_Modular —The list of modules.
getOutput()
Returns the output handler.
public
getOutput() : Output
Return values
Output —The output handler.
getParser()
Return the CLI parser.
public
getParser() : Horde_Argv_Parser
Return values
Horde_Argv_Parser —The parser.
getReleaseTasks()
Returns the release tasks handler.
public
getReleaseTasks() : Tasks
Return values
Tasks —The release tasks handler.
getRemote()
Returns the handler for remote PEAR servers.
public
getRemote() : Horde_Pear_Remote
Return values
Horde_Pear_Remote —The handler.
getRunnerChange()
Returns the change log handler for a package.
public
getRunnerChange() : Change
Return values
Change —The change log handler.
getRunnerCiPrebuild()
Returns the continuous integration pre-build handler.
public
getRunnerCiPrebuild() : CiPrebuild
Return values
CiPrebuild —The CI pre-build handler.
getRunnerCiSetup()
Returns the continuous integration setup handler.
public
getRunnerCiSetup() : CiSetup
Return values
CiSetup —The CI setup handler.
getRunnerComposer()
Returns the composer handler for a package.
public
getRunnerComposer() : Composer
Return values
Composer —The composer handler.
getRunnerDependencies()
Returns the dependency list handler for a package.
public
getRunnerDependencies() : Dependencies
Return values
Dependencies —The dependency handler.
getRunnerDistribute()
Returns the distribution handler for a package.
public
getRunnerDistribute() : Distribute
Return values
Distribute —The distribution handler.
getRunnerFetchdocs()
Returns the documentation fetch handler for a package.
public
getRunnerFetchdocs() : Fetchdocs
Return values
Fetchdocs —The fetch handler.
getRunnerGit()
Returns the dependency list handler for a package.
public
getRunnerGit() : Git
Return values
Git —The Git Handler
getRunnerInit()
Returns the init handler for a package.
public
getRunnerInit() : Init
Return values
Init —The fetch handler.
getRunnerInstaller()
Returns the installer for a package.
public
getRunnerInstaller() : Installer
Return values
Installer —The installer.
getRunnerQc()
Returns the qc handler for a package.
public
getRunnerQc() : Qc
Return values
Qc —The qc handler.
getRunnerRelease()
Returns the release handler for a package.
public
getRunnerRelease() : Release
Return values
Release —The release handler.
getRunnerSnapshot()
Returns the snapshot packaging handler for a package.
public
getRunnerSnapshot() : Snapshot
Return values
Snapshot —The snapshot handler.
getRunnerUpdate()
Returns the package XML handler for a package.
public
getRunnerUpdate() : Update
Return values
Update —The package XML handler.
getRunnerWebdocs()
Returns the website documentation handler for a package.
public
getRunnerWebdocs() : RunnerWebdocs
Return values
RunnerWebdocs —The documentation handler.
initConfig()
Initial configuration setup.
public
initConfig(Config $config) : void
Parameters
- $config : Config
-
The configuration.
Return values
void —setModules()
Set the list of modules.
public
setModules(Horde_Cli_Modular $modules) : void
Parameters
- $modules : Horde_Cli_Modular
-
The list of modules.
Return values
void —setParser()
Set the CLI parser.
public
setParser(Horde_Argv_Parser $parser) : void
Parameters
- $parser : Horde_Argv_Parser
-
The parser.
Return values
void —useCliPager()
Enables a pager for \Horde_Cli objects.
public
useCliPager() : void