File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -83,20 +83,17 @@ exists
8383presence of one or more files or directories and returns ``false `` if any of
8484them is missing::
8585
86- // if this absolute directory exists, return true
86+ // if this absolute directory exists, returns true
8787 $fileSystem->exists('/tmp/photos');
8888
89- // rabbit.jpg exists, bottle.png does not exist, return false
89+ // if rabbit.jpg exists and bottle.png does not exist, returns false
90+ // non-absolute paths are relative to the directory where the running PHP script is stored
9091 $fileSystem->exists(array('rabbit.jpg', 'bottle.png'));
9192
9293.. note ::
9394
9495 You can pass an array or any :phpclass: `Traversable ` object as the first
9596 argument.
96-
97- .. note ::
98- If you are using non-absolute paths, the paths are relative to
99- the directory where the running PHP script is stored
10097
10198copy
10299~~~~
You can’t perform that action at this time.
0 commit comments