File: D:/HostingSpaces/blijegasten/blijegasten.be/app/Komma/Shop/Orders/OrderMailServiceInterface.php
<?php
namespace App\Komma\Shop\Orders\Kms;
use App\Komma\Shop\Orders\Models\Order;
use App\Komma\Users\Models\SiteUser;
/**
* Class OrderMailService
*
* @package App\Komma\Shop\Orders\Kms
*/
interface OrderMailServiceInterface
{
/**
* Mail a customer about their current order status
*
* @param Order $order
* @param bool $failSilentlyWhenTranslationsMissing When false a proper exception is thrown when the mail translations don't exist. When true, the mail just does not get sent.
*/
public function mailCustomerAboutCurrentOrderStatus(Order $order, bool $failSilentlyWhenTranslationsMissing = false);
/**
* Mail Staff about an order's current status
*
* @param Order $order
* @param bool $failSilentlyWhenTranslationsMissing When false a proper exception is thrown when the mail translations don't exist. When true, the mail just does not get sent.
*/
public function mailStaffAboutCurrentOrderStatus(Order $order, bool $failSilentlyWhenTranslationsMissing = false);
}