added events for relationships #nka5y8 #2181
This commit is contained in:
20
app/Events/Common/RelationshipDeleting.php
Normal file
20
app/Events/Common/RelationshipDeleting.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Common;
|
||||
|
||||
use App\Abstracts\Event;
|
||||
|
||||
class RelationshipDeleting extends Event
|
||||
{
|
||||
public $record;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $record
|
||||
*/
|
||||
public function __construct($record)
|
||||
{
|
||||
$this->record = $record;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user