code: public function visit(Notification $notification, Request $request): Request
      {
          $collapseId = $notification->getCollapseId();
  
          if ($collapseId) {
              $request = $request->withHeader('apns-collapse-id', $collapseId->getValue());
          }
  
          return $request;
      }
docs: {@inheritdoc}