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 280a903 commit 3ea0737Copy full SHA for 3ea0737
components/lock.rst
@@ -225,11 +225,8 @@ PHP process is terminated::
225
use Symfony\Component\Lock\Store\FlockStore;
226
227
// the argument is the path of the directory where the locks are created
228
- $store = new FlockStore(sys_get_temp_dir());
229
-
230
-.. note::
231
232
- If no path is given, ``sys_get_temp_dir`` is used as default value.
+ // if none is given, sys_get_temp_dir() is used internally.
+ $store = new FlockStore('/var/stores');
233
234
.. caution::
235
0 commit comments