tonicforhealth/health-checker-incident-component

Health checker incident component provides classes for health checker incident app

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

This package is not auto-updated.

Last update: 2024-11-19 21:48:38 UTC


README

License Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

This repository provides classes for Health checker incident app. These classes are used for different notification types like email, cachet, file, etc. All these classes implement NotificationTypeInterface. Also here you can find Subject class that IncidentSiren uses like a point for sending notifications.

Requirements

  • PHP 5.5 or higher
  • ext-pdo

Classes

Classes

  • TonicHealthCheck\Incident\IncidentEventSubscriber - core class for mediation with incidents. Also this class implements Doctrine\Common\EventSubscriber interface.
  • TonicHealthCheck\Incident\Siren\IncidentSiren - for notification subjects.
  • TonicHealthCheck\Incident\Siren\IncidentSirenCollection - collection of the IncidentSiren items
  • TonicHealthCheck\Incident\Siren\NotificationType\EmailNotificationType - implements email notification.
  • TonicHealthCheck\Incident\Siren\NotificationType\FileNotificationType - implements file notification
  • TonicHealthCheck\Incident\Siren\NotificationType\RequestNotificationType - implements request notification
  • TonicHealthCheck\Incident\Siren\Subject\Subject - implements subjects and is used as a point to notification
  • TonicHealthCheck\Incident\Siren\Subject\SubjectCollection - collection of the Subject items

Interfaces

  • TonicHealthCheck\Incident\IncidentInterface - interface for notification entity
  • TonicHealthCheck\Incident\Siren\Subject\SubjectInterface - interface for subjects
  • TonicHealthCheck\Incident\Siren\NotificationType\NotificationTypeInterface - interface for notification types

Other

  • TonicHealthCheck\CachetHQ\Authentication\Token - class for cachetHQ authentication