PHP Class pchKbotReporter, php-commit-hooks

Inheritance: extends pchReporter
Afficher le fichier Open project: kore/php-commit-hooks

Protected Properties

Свойство Type Description
$bot integer Number of the bot, which receives the command
$channel string IRC-Channel to report to
$name string Project name used in the report
$secret string Shared secret used to verify the senders autheticity
$url string URL the report will be passed to

Méthodes publiques

Méthode Description
__construct ( $url, string $secret, string $name, string $channel, integer $bot = 1 ) : void Construct k.Bot reporter from shared secret
report ( pchRepository $repository, array $issues ) : void Report occured issues

Method Details

__construct() public méthode

Construct k.Bot reporter from shared secret
public __construct ( $url, string $secret, string $name, string $channel, integer $bot = 1 ) : void
$secret string
$name string
$channel string
$bot integer
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

$bot protected_oe property

Number of the bot, which receives the command
protected int $bot
Résultat integer

$channel protected_oe property

IRC-Channel to report to
protected string $channel
Résultat string

$name protected_oe property

Project name used in the report
protected string $name
Résultat string

$secret protected_oe property

Shared secret used to verify the senders autheticity
protected string $secret
Résultat string

$url protected_oe property

URL the report will be passed to
protected string $url
Résultat string