File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ LockHandler
3
3
4
4
.. versionadded :: 3.4
5
5
The ``LockHandler `` class was deprecated in Symfony 3.4 and it will be
6
- removed in Symfony 4.0. Use `` SemaphoreStore `` or `` FlockStore `` from the
7
- `` Lock`` component instead.
6
+ removed in Symfony 4.0. Use :ref: ` SemaphoreStore < lock-store-semaphore >`
7
+ or :ref: ` FlockStore < lock-store-flock >` from the Lock component instead.
8
8
9
9
What is a Lock?
10
10
---------------
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Prevent Multiple Executions of a Console Command
6
6
7
7
A simple but effective way to prevent multiple executions of the same command in
8
8
a single server is to use `locks `_. The :doc: `Lock component </components/lock >`
9
- provides multiple classes to create locks based on the filesystem (:ref: `FlockStore <_lock -store-flock >`),
10
- shared memory (:ref: `SemaphoreStore <_lock -store-semaphore >`) and even databases
9
+ provides multiple classes to create locks based on the filesystem (:ref: `FlockStore <lock -store-flock >`),
10
+ shared memory (:ref: `SemaphoreStore <lock -store-semaphore >`) and even databases
11
11
and Redis servers.
12
12
13
13
In addition, the Console component provides a PHP trait called ``LockableTrait ``
You can’t perform that action at this time.
0 commit comments