File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 346
346
| Register listeners to the events
347
347
|--------------------------------------------------------------------------
348
348
|
349
+ | In Laravel version 11 and later, event listeners located in the `App\Listeners`
350
+ | directory are automatically registered by default. Therefore, manual registration
351
+ | in this configuration file is unnecessary.
352
+ |
353
+ | If you register the listeners manually again here, the listener will be called twice.
354
+ |
355
+ | If you plan to store your listeners in a different directory like `App\Shopify\Listeners`
356
+ | or within multiple directories, then you should register them here.
357
+ |
358
+ | If you are using Laravel version 10 or earlier, then corresponding listeners
359
+ | must be registered here.
360
+ |
349
361
*/
350
362
351
363
'listen ' => [
You can’t perform that action at this time.
0 commit comments