Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
namespace App\Listeners;
use App\Events\NewOrder;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
class SendInvoiceToCustomer
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param NewOrder $event
* @return void
*/
public function handle(NewOrder $event)
{
// TODO Enviar correo al cliente con la factura de su pedido
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment