File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -48,5 +48,9 @@ Criteria can be added to the finder using the following methods:
48
48
- ` in(array $dirs) ` - Searches only in given directories.
49
49
- ` inNamespace(array $namespaces) ` - Searches only in given namespaces.
50
50
- ` notInNamespace(array $namespaces) ` - Searches only * outside* the given namespaces.
51
+ - ` path(string $pattern) ` - Adds a filter based on file pathname. If starts with '/' will be interpreted as a regex.
52
+ - ` notPath(string $pattern) ` - Adds a negative filter based on file pathname. If starts with '/' will be interpreted as a regex.
51
53
- ` filter(callable $callback) ` - Adds a custom filter callback.
52
-
54
+ - ` pathFilter(callable $callback) ` - Adds a custom file pathname filter callback.
55
+ - ` skipNonInstantiable(bool $skip = true) ` - Whether to skip or not abstract classes, traits and interfaces.
56
+ - ` skipBogonFiles(bool $skip = true) ` - Prevents the inclusion of files known to cause bugs and possible fatal errors.
You can’t perform that action at this time.
0 commit comments