Release
in package
Components_Runner_Release:: releases a new version for a package.
Copyright 2011-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
Table of Contents
- $_config : Config
- $_output : Output
- The output handler.
- $_qc : Tasks
- The QC tasks handler.
- $_release : Tasks
- The release tasks handler.
- __construct() : mixed
- Constructor.
- run() : void
- _doTask() : bool
- Did the user activate the given task?
Properties
$_config read-only
private
Config
$_config
$_output read-only
The output handler.
private
Output
$_output
$_qc read-only
The QC tasks handler.
private
Tasks
$_qc
$_release read-only
The release tasks handler.
private
Tasks
$_release
Methods
__construct()
Constructor.
public
__construct(Config $_config, Output $_output, Tasks $_release, Tasks $_qc) : mixed
Parameters
- $_config : Config
-
The current job's configuration
- $_output : Output
-
The output handler.
- $_release : Tasks
-
The tasks handler.
- $_qc : Tasks
-
QC tasks handler.
Return values
mixed —run()
public
run() : void
Tags
Return values
void —_doTask()
Did the user activate the given task?
private
_doTask(string $task) : bool
Parameters
- $task : string
-
The task name.
Return values
bool —True if the task is active.