src/FondOfSpryker/Zed/AvailabilityAlert/Business/Model/SubscribersNotifier.php
protected function sendNotification(FosAvailabilityAlertSubscription $fosAvailabilityAlertSubscription)
    {
        $this->mailHandler->sendAvailabilityAlertMail($fosAvailabilityAlertSubscription);

        $fosAvailabilityAlertSubscription->setSentAt(new DateTime())
            ->setStatus(FosAvailabilityAlertSubscriptionTableMap::COL_STATUS_NOTIFIED)
            ->save();

        return $this;
    }
protected function sendNotification(FosAvailabilityAlertSubscription $fosAvailabilityAlertSubscription)
    {
        $this->mailHandler->sendAvailabilityAlertMail($fosAvailabilityAlertSubscription);

        $fosAvailabilityAlertSubscription->setSentAt(new DateTime())
            ->setStatus(FosAvailabilityAlertSubscriptionTableMap::COL_STATUS_NOTIFIED)
            ->save();

        return $this;
    }
@param \Orm\Zed\AvailabilityAlert\Persistence\FosAvailabilityAlertSubscription $fosAvailabilityAlertSubscription

@return \FondOfSpryker\Zed\AvailabilityAlert\Business\Model\SubscribersNotifier