File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ strings or regexes::
202
202
203
203
$finder->files()->name('/\.php$/');
204
204
205
- Multiple files names can be defined by chaining calls or passing an array::
205
+ Multiple filenames can be defined by chaining calls or passing an array::
206
206
207
207
$finder->files()->name('*.php')->name('*.twig');
208
208
@@ -213,16 +213,16 @@ The ``notName()`` method excludes files matching a pattern::
213
213
214
214
$finder->files()->notName('*.rb');
215
215
216
- Multiple files names can be excluded by chaining calls or passing an array::
216
+ Multiple filenames can be excluded by chaining calls or passing an array::
217
217
218
218
$finder->files()->notName('*.rb')->notName('*.py');
219
219
220
220
// same as above
221
221
$finder->files()->notName(array('*.rb', '*.py'));
222
222
223
223
.. versionadded :: 4.2
224
- Passing an array as parameter for method ``name() `` and ``notName() `` was
225
- introduced in Symfony 4.2
224
+ Support for passing arrays to ``name() `` and ``notName() `` was introduced
225
+ in Symfony 4.2
226
226
227
227
File Contents
228
228
~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments