mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
30 lines
445 B
PHP
30 lines
445 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Events;
|
||
|
|
||
|
use App\Models\Project;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* Class ProjectWasDeleted.
|
||
|
*/
|
||
|
class ProjectWasDeleted extends Event
|
||
|
{
|
||
|
use SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* @var Prooject
|
||
|
*/
|
||
|
public $project;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @param Invoice $invoice
|
||
|
*/
|
||
|
public function __construct(Project $project)
|
||
|
{
|
||
|
$this->project = $project;
|
||
|
}
|
||
|
}
|