query = $query; } /** * Execute the job. */ public function handle(): void { if ((app()->environment() == 'production') && (config('platform.global.indexing'))) { $url = get_route_search_result(strtolower($this->query)); try { IndexNow::submit($url); } catch (Exception) { } try { LaravelGoogleIndexing::create()->update($url); } catch (Exception) { } } } }