files
files copied to clipboard
Useful methods to manage files and directories
Fix docs
For example - https://php.watch/versions/8.0/internal-function-exceptions.
For example, if there's `vendor/**` path excluded, there's no sense in traversing whole `vendor` directory. That will likely break backwards compatibility.
| Q | A | ------------- | --- | Is bugfix? | ❌ | New feature? | ❌ | Breaks BC? | ❌ | Fixed issues | comma-separated list of...
```php $files = FileHelper::glob((new PathMatcher()->only('/var/www/yiiframework.com/**.jpg'))); ``` 1. No need to specify directory such as in `findFiles()`. 2. Should support absolute paths only. 3. Should determine non-dynamic part of the pattern...