From d9125fd9f88dea6b992c5312e66380c4ec8b7883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berislav=20Balogovi=C4=87?= Date: Mon, 22 Apr 2019 22:20:01 +0200 Subject: [PATCH] Add flock:// option to framework lock configuration reference --- reference/configuration/framework.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 49adddabbc3..628e150934e 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -2762,11 +2762,12 @@ A list of lock stores to be created by the framework extension. .. code-block:: yaml - # app/config/config.yml + # config/packages/lock.yml framework: # these are all the supported lock stores lock: ~ lock: 'flock' + lock: 'flock:///path/to/file' lock: 'semaphore' lock: 'memcached://m1.docker' lock: ['memcached://m1.docker', 'memcached://m2.docker'] @@ -2781,7 +2782,7 @@ A list of lock stores to be created by the framework extension. .. code-block:: xml - + flock + flock:///path/to/file + semaphore memcached://m1.docker @@ -2819,11 +2822,12 @@ A list of lock stores to be created by the framework extension. .. code-block:: php - // app/config/config.php + // config/packages/lock.php $container->loadFromExtension('framework', [ // these are all the supported lock stores 'lock' => null, 'lock' => 'flock', + 'lock' => 'flock:///path/to/file', 'lock' => 'semaphore', 'lock' => 'memcached://m1.docker', 'lock' => ['memcached://m1.docker', 'memcached://m2.docker'], @@ -2838,6 +2842,10 @@ A list of lock stores to be created by the framework extension. ], ]); +.. versionadded:: 4.2 + + The ``flock://`` store was introduced in Symfony 4.2. + .. _reference-lock-resources-name: name pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy