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

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

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

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