From efbb0b3e534db74dbe1114e1e99993837eeb27c9 Mon Sep 17 00:00:00 2001 From: Loulier Guillaume Date: Tue, 4 Feb 2020 14:10:32 +0100 Subject: [PATCH] refacto(Lock): FlockStore default path --- components/lock.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lock.rst b/components/lock.rst index 79ef3541ed0..235167662ec 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -227,6 +227,10 @@ PHP process is terminated:: // the argument is the path of the directory where the locks are created $store = new FlockStore(sys_get_temp_dir()); +.. note:: + + If no path is given, ``sys_get_temp_dir`` is used as default value. + .. caution:: Beware that some file systems (such as some types of NFS) do not support