pushToken = $pushToken; $this->actor = $actor; } /** * Execute the job. */ public function handle(): void { $pushToken = $this->pushToken; $actor = $this->actor; // Verify push token exists if (! $pushToken) { Log::info('FollowPushNotifyPipeline: Push token not provided, skipping job'); return; } // Verify actor exists if (! $actor) { Log::info('FollowPushNotifyPipeline: Actor not provided, skipping job'); return; } try { NotificationAppGatewayService::send($pushToken, 'follow', $actor); } catch (Exception $e) { Log::warning("FollowPushNotifyPipeline: Failed to send Follow notification to {$actor} :".$e->getMessage()); return; } } }