Documentation

Tasks
in package

Components_Qc_Tasks:: organizes the different tasks required for releasing 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
category

Horde

author

Gunnar Wrobel wrobel@pardus.de

license

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

Table of Contents

$_dependencies  : Dependencies
$_options  : array<string|int, mixed>
The options for the current qc run.
$_sequence  : array<string|int, mixed>
The sequence for the current qc run.
__construct()  : mixed
Constructor.
getTask()  : Base
Return the named task.
run()  : void
Run a sequence of qc tasks.

Properties

$_options

The options for the current qc run.

private array<string|int, mixed> $_options = []

$_sequence

The sequence for the current qc run.

private array<string|int, mixed> $_sequence = []

Methods

__construct()

Constructor.

public __construct(Dependencies $_dependencies) : mixed
Parameters
$_dependencies : Dependencies

The task factory.

Return values
mixed

getTask()

Return the named task.

public getTask(string $name, Component $component) : Base
Parameters
$name : string

The name of the task.

$component : Component

The component to be checked.

Return values
Base

The task.

run()

Run a sequence of qc tasks.

public run(array<string|int, mixed> $sequence, Component $component[, array<string|int, mixed> $options = [] ]) : void
Parameters
$sequence : array<string|int, mixed>

The task sequence.

$component : Component

The component to be checked.

$options : array<string|int, mixed> = []

Additional options.

Return values
void

Search results