make company current before deleting

This commit is contained in:
Denis Duliçi
2021-05-06 00:13:52 +03:00
parent 535da27d2e
commit 8e7dc3f119
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Events\Common;
use App\Abstracts\Event;
class CompanyDeleting extends Event
{
public $company;
public $current_company_id;
/**
* Create a new event instance.
*
* @param $company
* @param $current_company_id
*/
public function __construct($company, $current_company_id)
{
$this->company = $company;
$this->current_company_id = $current_company_id;
}
}