tonicforhealth/health-checker-incident-component

健康检查事件组件提供健康检查事件应用程序的类

v0.3.0 2016-11-24 12:26 UTC

This package is not auto-updated.

Last update: 2024-09-24 20:56:52 UTC


README

License Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

此存储库提供了健康检查事件应用程序的类。这些类用于不同的通知类型,如电子邮件、cachet、文件等。所有这些类都实现了NotificationTypeInterface。此外,您还可以在此处找到Subject类,这是IncidentSiren用于发送通知的点。

需求

  • PHP 5.5或更高版本
  • ext-pdo

  • TonicHealthCheck\Incident\IncidentEventSubscriber - 用于与事件进行调解的核心类。此类还实现了Doctrine\Common\EventSubscriber接口。
  • TonicHealthCheck\Incident\Siren\IncidentSiren - 用于通知主题。
  • TonicHealthCheck\Incident\Siren\IncidentSirenCollection - IncidentSiren项的集合
  • TonicHealthCheck\Incident\Siren\NotificationType\EmailNotificationType - 实现电子邮件通知。
  • TonicHealthCheck\Incident\Siren\NotificationType\FileNotificationType - 实现文件通知
  • TonicHealthCheck\Incident\Siren\NotificationType\RequestNotificationType - 实现请求通知
  • TonicHealthCheck\Incident\Siren\Subject\Subject - 实现主题,并用作通知的点
  • TonicHealthCheck\Incident\Siren\Subject\SubjectCollection - Subject项的集合

接口

  • TonicHealthCheck\Incident\IncidentInterface - 通知实体的接口
  • TonicHealthCheck\Incident\Siren\Subject\SubjectInterface - 主题的接口
  • TonicHealthCheck\Incident\Siren\NotificationType\NotificationTypeInterface - 通知类型的接口

其他

  • TonicHealthCheck\CachetHQ\Authentication\Token - cachetHQ认证的类