generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathturbo-laravel.php
36 lines (32 loc) · 1.38 KB
/
turbo-laravel.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
return [
/*
|--------------------------------------------------------------------------
| Queue Data Broadcasting
|--------------------------------------------------------------------------
|
| This option allows you to control if the broadcast updates to your frontend
| will be queued or not. When this is set to "true" then all the broadcast
| operations will be queued for a better performance of your main code.
|
| By default, it will use queues (if available, because you may use the sync
| driver) unless you're in testing mode. That's because during a test the
| app is running inside a transaction, so broadcasts wouldn't dispatch.
|
*/
'queue' => env('APP_ENV', 'production') !== 'testing',
/*
|--------------------------------------------------------------------------
| Root Model Namespaces
|--------------------------------------------------------------------------
|
| When generating DOM IDs for models, we need to strip out the root namespaces from the model's FQCN. Please,
| if you use non-conventional folder structures, make sure you add your custom namespaces to this list. The
| first one that matches a "starts with" check will be used and removed from the model's FQCN for DOM IDs.
|
*/
'models_namespace' => [
'App\\Models\\',
'App\\',
],
];