Skip to content

Commit 19da3e3

Browse files
committed
minor #15117 [Finder] Add note about depth 0 in Finder (tmotyl)
This PR was submitted for the 5.x branch but it was merged into the 4.4 branch instead. Discussion ---------- [Finder] Add note about depth 0 in Finder <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 5e91bdb Add note about depth 0 in Finder
2 parents 9f0893c + 5e91bdb commit 19da3e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/finder.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ Restrict by a depth range by chaining calls or passing an array::
311311

312312
// same as above
313313
$finder->depth(['> 2', '< 5']);
314+
315+
Depth 0 means direct children (files and folders).
314316

315317
Custom Filtering
316318
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)