File tree Expand file tree Collapse file tree 4 files changed +21
-8
lines changed
app/code/Magento/Deploy/Console/Command/App/SensitiveConfigSet
lib/internal/Magento/Framework/Module Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,8 @@ class CollectorFactory
32
32
33
33
/**
34
34
* @param ObjectManagerInterface $objectManager
35
- * @param array $types array of collector types that are available for creation, for example
36
- * ```php
37
- * array ('type' => 'collector class name ')
38
- * ```
35
+ * @param array $types list of collector class names this factory can create.
36
+ * Every class should implement \Magento\Deploy\Console\Command\App\SensitiveConfigSet\CollectorInterface
39
37
*/
40
38
public function __construct (
41
39
ObjectManagerInterface $ objectManager ,
Original file line number Diff line number Diff line change 10
10
*
11
11
* Usage:
12
12
* ```php
13
- * //...
14
13
* $manager->isEnabled('Vendor_Module');
15
- * //...
16
14
* ```
17
15
*/
18
16
class Manager
@@ -21,6 +19,8 @@ class Manager
21
19
* The checker of output modules.
22
20
*
23
21
* @var Output\ConfigInterface the config checker of output modules.
22
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version.
23
+ * The property can be removed in a future major release
24
24
*/
25
25
private $ outputConfig ;
26
26
@@ -35,6 +35,8 @@ class Manager
35
35
* The list of config paths to ignore.
36
36
*
37
37
* @var array the list of config paths to ignore.
38
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version.
39
+ * The property can be removed in a future major release
38
40
*/
39
41
private $ outputConfigPaths ;
40
42
Original file line number Diff line number Diff line change @@ -16,16 +16,19 @@ class Config implements \Magento\Framework\Module\Output\ConfigInterface
16
16
{
17
17
/**
18
18
* XPath in the configuration where module statuses are stored
19
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
19
20
*/
20
21
const XML_PATH_MODULE_OUTPUT_STATUS = 'advanced/modules_disable_output/%s ' ;
21
22
22
23
/**
23
24
* @var \Magento\Framework\App\Config\ScopeConfigInterface
25
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
24
26
*/
25
27
protected $ _scopeConfig ;
26
28
27
29
/**
28
30
* @var string
31
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
29
32
*/
30
33
protected $ _storeType ;
31
34
@@ -42,15 +45,23 @@ public function __construct(
42
45
}
43
46
44
47
/**
45
- * @inheritdoc
48
+ * Whether a module is enabled in the configuration or not
49
+ *
50
+ * @param string $moduleName Fully-qualified module name
51
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
52
+ * @return boolean
46
53
*/
47
54
public function isEnabled ($ moduleName )
48
55
{
49
56
return false ;
50
57
}
51
58
52
59
/**
53
- * @inheritdoc
60
+ * Retrieve module enabled specific path
61
+ *
62
+ * @param string $path Fully-qualified config path
63
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
64
+ * @return boolean
54
65
*/
55
66
public function isSetFlag ($ path )
56
67
{
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ interface ConfigInterface
16
16
* Whether a module is enabled in the configuration or not
17
17
*
18
18
* @param string $moduleName Fully-qualified module name
19
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
19
20
* @return boolean
20
21
*/
21
22
public function isEnabled ($ moduleName );
@@ -24,6 +25,7 @@ public function isEnabled($moduleName);
24
25
* Retrieve module enabled specific path
25
26
*
26
27
* @param string $path Fully-qualified config path
28
+ * @deprecated Magento does not support custom disabling/enabling module output since 2.2.0 version
27
29
* @return boolean
28
30
*/
29
31
public function isSetFlag ($ path );
You can’t perform that action at this time.
0 commit comments