1
1
<?php
2
2
/**
3
- * Configuration interface
4
- *
5
- * Copyright © Magento, Inc. All rights reserved.
6
- * See COPYING.txt for license details.
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved.
7
5
*/
8
6
9
7
namespace Magento \Framework \App \Config ;
@@ -17,14 +15,14 @@ interface ScopeConfigInterface
17
15
/**
18
16
* Default scope type
19
17
*/
20
- const SCOPE_TYPE_DEFAULT = 'default ' ;
18
+ public const SCOPE_TYPE_DEFAULT = 'default ' ;
21
19
22
20
/**
23
21
* Retrieve config value by path and scope.
24
22
*
25
23
* @param string $path The path through the tree of configuration values, e.g., 'general/store_information/name'
26
24
* @param string $scopeType The scope to use to determine config value, e.g., 'store' or 'default'
27
- * @param null|int|string $scopeCode
25
+ * @param null|int|string|\Magento\Framework\App\ScopeInterface $scopeCode
28
26
* @return mixed
29
27
*/
30
28
public function getValue ($ path , $ scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT , $ scopeCode = null );
@@ -34,7 +32,7 @@ public function getValue($path, $scopeType = ScopeConfigInterface::SCOPE_TYPE_DE
34
32
*
35
33
* @param string $path The path through the tree of configuration values, e.g., 'general/store_information/name'
36
34
* @param string $scopeType The scope to use to determine config value, e.g., 'store' or 'default'
37
- * @param null|int|string $scopeCode
35
+ * @param null|int|string|\Magento\Framework\App\ScopeInterface $scopeCode
38
36
* @return bool
39
37
*/
40
38
public function isSetFlag ($ path , $ scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT , $ scopeCode = null );
0 commit comments