Skip to content

Commit

Permalink
Add new autoload_ignore key to upgrade stub.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey committed Apr 16, 2024
1 parent d14017b commit 21a381c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/ddd.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,26 @@ return [
'factories' => true,
],

/*
|--------------------------------------------------------------------------
| Autoload Ignore Folders
|--------------------------------------------------------------------------
|
| Folders that should be skipped during autoloading discovery,
| relative to the root of each domain.
|
| e.g., src/Domain/Invoicing/<folder-to-ignore>
|
| If more advanced filtering is needed, a callback can be registered
| using `DDD::filterAutoloadPathsUsing(callback $filter)` in
| the AppServiceProvider's boot method.
|
*/
'autoload_ignore' => [
'Tests',
'Database/Migrations',
],

/*
|--------------------------------------------------------------------------
| Caching
Expand Down

0 comments on commit 21a381c

Please sign in to comment.