mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 13:33:46 +08:00
26 lines
529 B
PHP
26 lines
529 B
PHP
<?php
|
|
|
|
namespace BookStack\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
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;
|
|
// });
|
|
}
|
|
}
|