Qc
in package
Components_Runner_Qc:: checks the component for quality.
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 quality control 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 quality control tasks handler.
private
Tasks
$_qc
Methods
__construct()
Constructor.
public
__construct(Config $_config, Output $_output, Tasks $_qc) : mixed
Parameters
- $_config : Config
-
The configuration for the current job.
- $_output : Output
-
The output handler.
- $_qc : Tasks
-
The qc handler.
Return values
mixed —run()
public
run() : void
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.