/
home
/
old_henza
/
server
/
routes
/
File Upload :
llllll
Current File: /home/old_henza/server/routes/channels.php
<?php use App\Http\Controllers\api\CustomerController; use App\Models\Notify; use App\Models\Order; use App\Models\OrderActivity; use App\Models\OrderItem; use App\Models\Product; use App\Models\ProductVariant; use App\Models\Sms; use App\Models\Utility; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Broadcast; use Illuminate\Support\Facades\Log; /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application supports. The given channel authorization callbacks are | used to check if an authenticated user can listen to the channel. | */ Broadcast::channel('App.Models.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; });
Copyright ©2k19 -
Hexid
|
Tex7ure