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 24b9fa4 commit dbb7f85Copy full SHA for dbb7f85
components/lock.rst
@@ -145,9 +145,9 @@ pass ``true`` as the argument of the ``acquire()`` method. This is called a
145
lock is acquired::
146
147
use Symfony\Component\Lock\LockFactory;
148
- use Symfony\Component\Lock\Store\RedisStore;
+ use Symfony\Component\Lock\Store\FlockStore;
149
150
- $store = new RedisStore(new \Predis\Client('tcp://localhost:6379'));
+ $store = new FlockStore('/var/stores');
151
$factory = new LockFactory($store);
152
153
$lock = $factory->createLock('pdf-creation');
0 commit comments