-
-
Save cursosdesarrolloweb/37c60f716568e71e328618c801be6210 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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