We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6300ab1 commit 2a3b85aCopy full SHA for 2a3b85a
components/filesystem.rst
@@ -83,7 +83,7 @@ exists
83
presence of one or more files or directories and returns ``false`` if any of
84
them is missing::
85
86
- // this directory exists, return true
+ // if this absolute directory exists, return true
87
$fileSystem->exists('/tmp/photos');
88
89
// rabbit.jpg exists, bottle.png does not exist, return false
@@ -93,6 +93,10 @@ them is missing::
93
94
You can pass an array or any :phpclass:`Traversable` object as the first
95
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
100
101
copy
102
~~~~
0 commit comments