Skip to content

Commit 1d56eac

Browse files
authored
Clarify that class is resolved using service container (#3548)
1 parent 6027965 commit 1d56eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced-usage/using-a-custom-directory-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ media
2424

2525
Putting files inside their own folders guarantees that files with the same name can be added without any problems.
2626

27-
To override this default folder structure, a class that conforms to the `PathGenerator`-interface can be specified as the `path_generator` in the config file.
27+
To override this default folder structure, a class that conforms to the `PathGenerator`-interface can be specified as the `path_generator` in the config file. The given class will be loaded through the Laravel [Service Container](https://laravel.com/docs/container), so feel free to type-hint any dependencies in the constructor.
2828

2929
Let's take a look at the interface:
3030

0 commit comments

Comments
 (0)