public function __construct(callable $notificationHandler) { $this->notificationHandler = $notificationHandler; }