1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Events/ProductWasDeleted.php
Christopher Di Carlo 1b2de482d0 Add ability to hook into Product view
Adds ability to define dynamic relations on entities
2018-05-03 10:31:28 -04:00

27 lines
397 B
PHP

<?php
namespace App\Events;
use App\Models\Product;
use Illuminate\Queue\SerializesModels;
class ProductWasDeleted extends Event
{
use SerializesModels;
/**
* @var Product
*/
public $product;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(Product $product)
{
$this->product = $product;
}
}