PHP 클래스 pchMailReporter, php-commit-hooks

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

보호된 프로퍼티들

프로퍼티 타입 설명
$receiver mixed Receiver of the mail
$sender string Sender of the mail
$subject string Subject of the mail

공개 메소드들

메소드 설명
__construct ( string $sender, string $receiver, string $subject ) : void Construct mail reporter
report ( pchRepository $repository, array $issues ) : void Report occured issues

보호된 메소드들

메소드 설명
replacePlaceholders ( string $string, pchRepository $repository ) : string Replace placeholders in user provided strings

메소드 상세

__construct() 공개 메소드

Construct the mail reporter from the sender of the mail, the receiver and subject. In all values simple values are replaced, like {user} is replaced by the SVN user name.
public __construct ( string $sender, string $receiver, string $subject ) : void
$sender string
$receiver string
$subject string
리턴 void

replacePlaceholders() 보호된 메소드

Replace placeholders in user provided strings
protected replacePlaceholders ( string $string, pchRepository $repository ) : string
$string string
$repository pchRepository
리턴 string

report() 공개 메소드

Report occured issues, passed as an array.
public report ( pchRepository $repository, array $issues ) : void
$repository pchRepository
$issues array
리턴 void

프로퍼티 상세

$receiver 보호되어 있는 프로퍼티

Receiver of the mail
protected mixed $receiver
리턴 mixed

$sender 보호되어 있는 프로퍼티

Sender of the mail
protected string $sender
리턴 string

$subject 보호되어 있는 프로퍼티

Subject of the mail
protected string $subject
리턴 string