File tree Expand file tree Collapse file tree 4 files changed +13
-19
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 4 files changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,7 @@ public function getSource()
42
42
}
43
43
44
44
/**
45
- * Retrieve configuration value by path
46
- *
47
- * @param null|string $path
48
- * @return array|string
45
+ * @inheritdoc
49
46
*/
50
47
public function getValue ($ path = null )
51
48
{
@@ -65,11 +62,7 @@ public function getValue($path = null)
65
62
}
66
63
67
64
/**
68
- * Set configuration value
69
- *
70
- * @param string $path
71
- * @param mixed $value
72
- * @return void
65
+ * @inheritdoc
73
66
*/
74
67
public function setValue ($ path , $ value )
75
68
{
Original file line number Diff line number Diff line change 6
6
namespace Magento \Framework \App \Config ;
7
7
8
8
/**
9
+ * Configuration data storage
10
+ *
9
11
* @api
10
12
*/
11
13
interface DataInterface
12
14
{
13
15
/**
16
+ * Retrieve configuration value by path
17
+ *
14
18
* @param string|null $path
15
- * @return string|array
19
+ * @return mixed
16
20
*/
17
21
public function getValue ($ path );
18
22
19
23
/**
24
+ * Set configuration value by path
25
+ *
20
26
* @param string $path
21
27
* @param mixed $value
22
28
* @return void
Original file line number Diff line number Diff line change @@ -49,20 +49,15 @@ public function __construct(
49
49
}
50
50
51
51
/**
52
- * Retrieve currency code
53
- *
54
- * @return string
52
+ * @inheritdoc
55
53
*/
56
54
public function getDefaultCurrency ()
57
55
{
58
56
return self ::DEFAULT_CURRENCY ;
59
57
}
60
58
61
59
/**
62
- * Create \Zend_Currency object for current locale
63
- *
64
- * @param string $currency
65
- * @return \Magento\Framework\Currency
60
+ * @inheritdoc
66
61
*/
67
62
public function getCurrency ($ currency )
68
63
{
Original file line number Diff line number Diff line change 13
13
interface CurrencyInterface
14
14
{
15
15
/**
16
- * Retrieve currency code
16
+ * Retrieve default currency code
17
17
*
18
18
* @return string
19
19
*/
20
20
public function getDefaultCurrency ();
21
21
22
22
/**
23
- * Create \Magento\Framework\ Currency object for current locale
23
+ * Create Currency object for current locale
24
24
*
25
25
* @param string $currency
26
26
* @return \Magento\Framework\Currency
You can’t perform that action at this time.
0 commit comments