1
0
Fork 0

Merge pull request #8944 from staabm/patch-2

Added docs for glob pattern support in classmaps
pull/8948/head
Jordi Boggiano 2020-06-03 13:12:51 +02:00 committed by GitHub
commit 8a9340c2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -610,6 +610,18 @@ Example:
} }
``` ```
Wildcards (`*`) are also supported in a classmap paths, and expand to match any directory name:
Example:
```json
{
"autoload": {
"classmap": ["src/addons/*/lib/", "3rd-party/*", "Something.php"]
}
}
```
#### Files #### Files
If you want to require certain files explicitly on every request then you can use If you want to require certain files explicitly on every request then you can use