Skip to content

Commit 9231d76

Browse files
authored
config update for laravel 11 (#324)
1 parent 8b76c1d commit 9231d76

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/resources/config/shopify-app.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,18 @@
346346
| Register listeners to the events
347347
|--------------------------------------------------------------------------
348348
|
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+
|
349361
*/
350362

351363
'listen' => [

0 commit comments

Comments
 (0)