Skip to content

Commit 0379582

Browse files
authored
refacto(Lock): FlockStore default path
1 parent 42fd9f7 commit 0379582

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/lock.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ PHP process is terminated::
227227
// the argument is the path of the directory where the locks are created
228228
$store = new FlockStore(sys_get_temp_dir());
229229

230+
.. note::
231+
232+
If no path is given, `sys_get_temp_dir` is the default value.
233+
230234
.. caution::
231235

232236
Beware that some file systems (such as some types of NFS) do not support

0 commit comments

Comments
 (0)