Echo.private('orders')
.listen(...)
.listen(...)
.listen(...);
public function broadcastOn()
{
return new PresenceChannel('chat');
}
protected function convertExceptionToResponse(Exception $e)
{
$debug = config('app.debug', false);
if ($debug) {
return (new SymfonyDisplayer($debug))->createResponse($e);
}
return response()->view('errors.default', ['expection' => $e], 500);
}