kopia lustrzana https://github.com/4xmen/xshop.git
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
28 wiersze
434 B
PHP
28 wiersze
434 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Invoice;
|
|
use App\Models\Payment;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class InvoiceSucceed
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Invoice
|
|
*/
|
|
public $invoice;
|
|
/**
|
|
* @var Payment
|
|
*/
|
|
public $payment;
|
|
|
|
public function __construct(Invoice $invoice,Payment $payment)
|
|
{
|
|
$this->invoice = $invoice;
|
|
$this->payment = $payment;
|
|
}
|
|
}
|