From 50944e1c423cc9bd79ac7e9df36a1d9d370bba31 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Wed, 3 Jun 2020 11:04:43 +0200 Subject: [PATCH] Added docs for glob pattern support in classmaps --- doc/04-schema.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/04-schema.md b/doc/04-schema.md index 00070a0b8..de558cd5e 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -610,6 +610,18 @@ Example: } ``` +Its also supported to use glob patterns in a classmap path: + +Example: + +```json +{ + "autoload": { + "classmap": ["src/addons/*/lib/", "3rd-party/*", "Something.php"] + } +} +``` + #### Files If you want to require certain files explicitly on every request then you can use