mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
30 lines
453 B
PHP
30 lines
453 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Events;
|
||
|
|
||
|
use App\Models\Proposal;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* Class ProposalWasDeleted.
|
||
|
*/
|
||
|
class ProposalWasDeleted extends Event
|
||
|
{
|
||
|
use SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* @var Proposal
|
||
|
*/
|
||
|
public $proposal;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @param Invoice $invoice
|
||
|
*/
|
||
|
public function __construct(Proposal $proposal)
|
||
|
{
|
||
|
$this->proposal = $proposal;
|
||
|
}
|
||
|
}
|