PHP Класс pchKbotReporter, php-commit-hooks

Наследование: extends pchReporter
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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
Результат void

report() публичный Метод

Report occured issues, passed as an array.
public report ( pchRepository $repository, array $issues ) : void
$repository pchRepository
$issues array
Результат void

Описание свойств

$bot защищенное свойство

Number of the bot, which receives the command
protected int $bot
Результат integer

$channel защищенное свойство

IRC-Channel to report to
protected string $channel
Результат string

$name защищенное свойство

Project name used in the report
protected string $name
Результат string

$secret защищенное свойство

Shared secret used to verify the senders autheticity
protected string $secret
Результат string

$url защищенное свойство

URL the report will be passed to
protected string $url
Результат string