File "CompanyCreated.php"
Full Path: /home/isoftco/public_html/hrm/app/Events/CompanyCreated.php
File size: 581 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace App\Events;
use App\Events\Event;
use App\Models\Company;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
class CompanyCreated extends Event
{
use SerializesModels;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(Company $company)
{
$this->company = $company;
}
/**
* Get the channels the event should be broadcast on.
*
* @return array
*/
public function broadcastOn()
{
return [];
}
}