Skip to content

Commit 5e91bdb

Browse files
tmotyljaviereguiluz
authored andcommitted
Add note about depth 0 in Finder
1 parent 9f0893c commit 5e91bdb

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)