PHP Class pchReporterDispatcher, php-commit-hooks

Dispatches the report to any number of other reporters
Inheritance: extends pchReporter
Afficher le fichier Open project: kore/php-commit-hooks

Protected Properties

Свойство Type Description
$reporters array List of reporters to dispatch to.

Méthodes publiques

Méthode Description
__construct ( array $reporters ) : void Construct reporter dispatcher
report ( pchRepository $repository, array $issues ) : void Report occured issues

Method Details

__construct() public méthode

Construct dispatcher from an array with any number of "child" reporters, which will then be called with the reporting results.
public __construct ( array $reporters ) : void
$reporters array
Résultat void

report() public méthode

Report occured issues, passed as an array.
public report ( pchRepository $repository, array $issues ) : void
$repository pchRepository
$issues array
Résultat void

Property Details

$reporters protected_oe property

List of reporters to dispatch to.
protected array $reporters
Résultat array