Commit a869d2d
committed
minor symfony#8076 Update lockable_trait.rst for blocking lock (lpussacq, javiereguiluz)
This PR was merged into the 3.2 branch.
Discussion
----------
Update lockable_trait.rst for blocking lock
The method lock() of LockableTrait accept 2 parameters, the first one is the name used to create the lock file, and the second is a value indicating if we should wait until the lock is release. Thus, the line $this->lock(true); should be $this->lock('someRandomLockName', true);
Commits
-------
7c99b93 Use "null" so the lock is named automatically
615817e Update lockable_trait.rst1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments