Skip to content

Commit 73db359

Browse files
author
Oleksii Korshenko
authored
Add option "lock-config" for shell command "config:set" #13280
- fixed backward compatibility
1 parent 30321b2 commit 73db359

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Config/Console/Command/ConfigSet/ConfigSetProcessorFactory.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ class ConfigSetProcessorFactory
2727
* lock - save and lock configuration
2828
*/
2929
const TYPE_DEFAULT = 'default';
30+
31+
/**
32+
* @deprecated
33+
* @see TYPE_LOCK_ENV or TYPE_LOCK_CONFIG
34+
*/
35+
const TYPE_LOCK = 'lock';
3036
const TYPE_LOCK_ENV = 'lock-env';
3137
const TYPE_LOCK_CONFIG = 'lock-config';
3238
/**#@-*/

0 commit comments

Comments
 (0)