mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +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;
|
||
|
}
|
||
|
}
|