Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbff0ce6

Browse files
[Finder] document array use for locations
1 parentbb0d522 commitbff0ce6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎components/finder.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ directory to use for the search::
8282
Search in several locations by chaining calls to
8383
:method:`Symfony\\Component\\Finder\\Finder::in`::
8484

85-
$finder->files()->in(__DIR__)->in('/elsewhere');
85+
$finder->files()->in(array(__DIR__, '/elsewhere'));
86+
$finder->in(__DIR__)->in('/elsewhere');
8687

8788
Use wildcard characters to search in the directories matching a pattern::
8889

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp