Merge pull request #8944 from staabm/patch-2
Added docs for glob pattern support in classmapspull/8948/head
commit
8a9340c2d2
|
@ -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
|
||||
|
||||
If you want to require certain files explicitly on every request then you can use
|
||||
|
|
Loading…
Reference in New Issue