PHP Class EricMakesStuff\ServerMonitor\Notifications\EventHandler

Show file Open project: ericmakesstuff/laravel-server-monitor

Protected Properties

Property Type Description
$notifier Notifier

Public Methods

Method Description
__construct ( )
subscribe ( Illuminate\Events\Dispatcher $events ) : array Register the listeners for the subscriber.
whenDiskUsageAlarm ( DiskUsageAlarm $event )
whenDiskUsageHealthy ( DiskUsageHealthy $event )
whenHttpPingDown ( HttpPingDown $event )
whenHttpPingUp ( HttpPingUp $event )
whenSSLCertificateExpiring ( SSLCertificateExpiring $event )
whenSSLCertificateInvalid ( SSLCertificateInvalid $event )
whenSSLCertificateValid ( SSLCertificateValid $event )

Method Details

__construct() public method

public __construct ( )

subscribe() public method

Register the listeners for the subscriber.
public subscribe ( Illuminate\Events\Dispatcher $events ) : array
$events Illuminate\Events\Dispatcher
return array

whenDiskUsageAlarm() public method

public whenDiskUsageAlarm ( DiskUsageAlarm $event )
$event EricMakesStuff\ServerMonitor\Events\DiskUsageAlarm

whenDiskUsageHealthy() public method

public whenDiskUsageHealthy ( DiskUsageHealthy $event )
$event EricMakesStuff\ServerMonitor\Events\DiskUsageHealthy

whenHttpPingDown() public method

public whenHttpPingDown ( HttpPingDown $event )
$event EricMakesStuff\ServerMonitor\Events\HttpPingDown

whenHttpPingUp() public method

public whenHttpPingUp ( HttpPingUp $event )
$event EricMakesStuff\ServerMonitor\Events\HttpPingUp

whenSSLCertificateExpiring() public method

public whenSSLCertificateExpiring ( SSLCertificateExpiring $event )
$event EricMakesStuff\ServerMonitor\Events\SSLCertificateExpiring

whenSSLCertificateInvalid() public method

public whenSSLCertificateInvalid ( SSLCertificateInvalid $event )
$event EricMakesStuff\ServerMonitor\Events\SSLCertificateInvalid

whenSSLCertificateValid() public method

public whenSSLCertificateValid ( SSLCertificateValid $event )
$event EricMakesStuff\ServerMonitor\Events\SSLCertificateValid

Property Details

$notifier protected property

protected Notifier,EricMakesStuff\ServerMonitor\Notifications $notifier
return Notifier