Skip to content

Commit 34e1041

Browse files
navarrslavvka
authored andcommitted
Add Value and ValueInterface to Magento Framework's public API
These classes are necessary/useful for creating a backend source for a Magento Configuration field. As such they should be reliable and part of the public API.
1 parent 3b1fb97 commit 34e1041

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/internal/Magento/Framework/App/Config/Value.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* @method string getValue()
1818
* @method \Magento\Framework\App\Config\ValueInterface setValue(string $value)
1919
*
20+
* @api
21+
*
2022
* @SuppressWarnings(PHPMD.NumberOfChildren)
2123
*/
2224
class Value extends \Magento\Framework\Model\AbstractModel implements \Magento\Framework\App\Config\ValueInterface

lib/internal/Magento/Framework/App/Config/ValueInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* Interface \Magento\Framework\App\Config\ValueInterface
12-
*
12+
* @api
1313
*/
1414
interface ValueInterface
1515
{

0 commit comments

Comments
 (0)