| 1 | <?php |
||
| 11 | class FileNotificationType implements NotificationTypeInterface |
||
| 12 | { |
||
| 13 | protected $pathMessage; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * FileNotificationType constructor. |
||
| 17 | * |
||
| 18 | * @param string $pathMessage |
||
| 19 | */ |
||
| 20 | 2 | public function __construct($pathMessage) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param SubjectInterface $subject |
||
| 27 | * @param IncidentInterface $incident |
||
| 28 | */ |
||
| 29 | 1 | public function notify(SubjectInterface $subject, IncidentInterface $incident) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 1 | public function getPathMessage() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $pathMessage |
||
| 46 | */ |
||
| 47 | 2 | public function setPathMessage($pathMessage) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @param SubjectInterface $subject |
||
| 57 | * |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | 1 | public function getSubjectNotifyFilePath(SubjectInterface $subject) |
|
| 64 | } |
||
| 65 |