mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
27 lines
571 B
PHP
27 lines
571 B
PHP
|
<?php
|
||
|
|
||
|
namespace BookStack\Providers;
|
||
|
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
use Illuminate\Support\Facades\Broadcast;
|
||
|
|
||
|
class BroadcastServiceProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Bootstrap any application services.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
// Broadcast::routes();
|
||
|
//
|
||
|
// /*
|
||
|
// * Authenticate the user's personal channel...
|
||
|
// */
|
||
|
// Broadcast::channel('BookStack.User.*', function ($user, $userId) {
|
||
|
// return (int) $user->id === (int) $userId;
|
||
|
// });
|
||
|
}
|
||
|
}
|