Add company create and update events

This commit is contained in:
Burak Çakırel
2020-09-13 21:57:10 +03:00
parent c72b5194dd
commit 0dfb759ab0
6 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace App\Events\Common;
use Illuminate\Queue\SerializesModels;
class CompanyCreated
{
use SerializesModels;
public $company;
/**
* Create a new event instance.
*
* @param $company
*/
public function __construct($company)
{
$this->company = $company;
}
}