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