PHP 클래스 pchKbotReporter, php-commit-hooks

상속: extends pchReporter
파일 보기 프로젝트 열기: kore/php-commit-hooks

보호된 프로퍼티들

프로퍼티 타입 설명
$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