code: protected function getAvailabilityAlertSubscriptionTransfer(
          FosAvailabilityAlertSubscription $fosAvailabilityAlertSubscription
      ) {
          $availabilityAlertSubscriptionTransfer = new AvailabilityAlertSubscriptionTransfer();
  
          $availabilityAlertSubscriptionTransfer->fromArray($fosAvailabilityAlertSubscription->toArray(), true);
  
          return $availabilityAlertSubscriptionTransfer;
      }
docs: @param \Orm\Zed\AvailabilityAlert\Persistence\FosAvailabilityAlertSubscription $fosAvailabilityAlertSubscription
  
  @return \Generated\Shared\Transfer\AvailabilityAlertSubscriptionTransfer