Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
9df814e5
Commit
9df814e5
authored
Aug 05, 2016
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak a few broadcasting configurations.
parent
5fad3768
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
app/Providers/BroadcastServiceProvider.php
+5
-2
config/broadcasting.php
+5
-1
config/queue.php
+1
-1
No files found.
app/Providers/BroadcastServiceProvider.php
View file @
9df814e5
...
...
@@ -16,8 +16,11 @@ class BroadcastServiceProvider extends ServiceProvider
{
Broadcast
::
routes
();
Broadcast
::
auth
(
'example.*'
,
function
(
$user
,
$exampleId
)
{
return
true
;
/**
* Authenticate the user's personal channel...
*/
Broadcast
::
auth
(
'App.User.*'
,
function
(
$user
,
$userId
)
{
return
(
int
)
$user
->
id
===
(
int
)
$userId
;
});
}
}
config/broadcasting.php
View file @
9df814e5
...
...
@@ -11,7 +11,7 @@ return [
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "pusher", "redis", "log"
| Supported: "pusher", "redis", "log"
, "null"
|
*/
...
...
@@ -49,6 +49,10 @@ return [
'driver'
=>
'log'
,
],
'null'
=>
[
'driver'
=>
'null'
,
],
],
];
config/queue.php
View file @
9df814e5
...
...
@@ -11,7 +11,7 @@ return [
| API, giving you convenient access to each back-end using the same
| syntax for each one. Here you may set the default queue driver.
|
| Supported: "
null", "sync", "database", "beanstalkd", "sqs", "redis
"
| Supported: "
sync", "database", "beanstalkd", "sqs", "redis", "null
"
|
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment