File: /var/www/vhost/disk-apps/demo.sports-crowd.com/app/Events/NewOrderCreateClient.php
<?php
namespace App\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class NewOrderCreateClient
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $email;
public $order;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($email, $order)
{
$this->email = $email;
$this->order = $order;
}
/**
* Get the channels the event should broadcast on.
*
* @return \Illuminate\Broadcasting\Channel|array
*/
public function broadcastOn()
{
return [];
}
}