public function __construct() { $notifierClass = config('server-monitor.notifications.handler'); $this->notifier = app($notifierClass); }