From 5c77c0b2739dee9b367c8c262db3781a362a2c01 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Tue, 24 May 2022 12:20:19 +0200 Subject: [PATCH] Fix example code block for lock component --- components/lock.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lock.rst b/components/lock.rst index 76e4badb587..a24e7b9b199 100644 --- a/components/lock.rst +++ b/components/lock.rst @@ -106,7 +106,7 @@ can be created, pass ``true`` as the argument of the ``acquire()`` method. This is called a **blocking lock** because the execution of your application stops until the lock is acquired. -Some of the built-in ``Store`` classes support this feature. +Some of the built-in ``Store`` classes support this feature:: use Symfony\Component\Lock\LockFactory; use Symfony\Component\Lock\Store\RedisStore;