private function registerTasks()
    {
        if (
            config('health.scheduler.enabled') &&
            ($frequency = config('health.scheduler.frequency')) &&
            config('health.notifications.enabled')
        ) {
            $scheduler = instantiate(Schedule::class);

            $scheduler
                ->call($this->healthService->getSilentChecker())
                ->$frequency();
        }
    }
private function registerTasks()
    {
        if (
            config('health.scheduler.enabled') &&
            ($frequency = config('health.scheduler.frequency')) &&
            config('health.notifications.enabled')
        ) {
            $scheduler = instantiate(Schedule::class);

            $scheduler
                ->call($this->healthService->getSilentChecker())
                ->$frequency();
        }
    }
private function registerTasks ( ) { if ( config ( 'health.scheduler.enabled' ) && ( $ frequency = config ( 'health.scheduler.frequency' ) ) && config ( 'health.notifications.enabled' ) ) { $ scheduler = instantiate ( Schedule :: class ) ; $ scheduler -> call ( $ this -> healthService -> getSilentChecker ( ) ) -> $ frequency ( ) ; } }
Register scheduled tasks.
Register scheduled tasks .