From 4c38750f87d316a5a6639c3b4459dfed3875878a Mon Sep 17 00:00:00 2001 From: Bram Date: Mon, 19 Feb 2024 10:25:46 +0000 Subject: [PATCH] Clarify that class is resolved using service container --- docs/advanced-usage/using-a-custom-directory-structure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-usage/using-a-custom-directory-structure.md b/docs/advanced-usage/using-a-custom-directory-structure.md index d5391bd14..45b099012 100644 --- a/docs/advanced-usage/using-a-custom-directory-structure.md +++ b/docs/advanced-usage/using-a-custom-directory-structure.md @@ -24,7 +24,7 @@ media Putting files inside their own folders guarantees that files with the same name can be added without any problems. -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. +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. Let's take a look at the interface: