Skip to content

Commit 47df808

Browse files
author
Igor Melnikov
committed
MAGETWO-60442: Add optional SerializerInterface dependency to child classes of \Magento\Framework\Config\Data
Adding class and __constructor descriptions
1 parent c957071 commit 47df808

File tree

27 files changed

+120
-7
lines changed

27 files changed

+120
-7
lines changed

app/code/Magento/Catalog/Model/Attribute/Config/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides catalog attributes configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param \Magento\Catalog\Model\Attribute\Config\Reader $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

app/code/Magento/Catalog/Model/ProductOptions/Config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides product options configuration
12+
*/
1013
class Config extends \Magento\Framework\Config\Data implements
1114
\Magento\Catalog\Model\ProductOptions\ConfigInterface
1215
{
1316
/**
17+
* Constructor
18+
*
1419
* @param \Magento\Catalog\Model\ProductOptions\Config\Reader $reader
1520
* @param \Magento\Framework\Config\CacheInterface $cache
1621
* @param string|null $cacheId

app/code/Magento/Catalog/Model/ProductTypes/Config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides product types configuration
12+
*/
1013
class Config extends \Magento\Framework\Config\Data implements \Magento\Catalog\Model\ProductTypes\ConfigInterface
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param Config\Reader $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

app/code/Magento/Config/Model/Config/Structure/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data\Scoped
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param Reader $reader
1419
* @param \Magento\Framework\Config\ScopeInterface $configScope
1520
* @param \Magento\Framework\Config\CacheInterface $cache

app/code/Magento/Cron/Model/Config/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides cron configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param Reader\Xml $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param Reader\Db $dbReader

app/code/Magento/Cron/Model/Groups/Config/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides cron groups configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param \Magento\Cron\Model\Groups\Config\Reader\Xml $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

app/code/Magento/Customer/Model/Address/Config.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Magento\Store\Model\ScopeInterface;
1212

1313
/**
14-
* Customer address config
14+
* Customer address configuration
1515
*/
1616
class Config extends ConfigData
1717
{
@@ -36,8 +36,7 @@ class Config extends ConfigData
3636
protected $_store = null;
3737

3838
/**
39-
* Default types per store
40-
* Using for invalid code
39+
* Default types per store, used for invalid code
4140
*
4241
* @var array
4342
*/
@@ -59,6 +58,8 @@ class Config extends ConfigData
5958
protected $_scopeConfig;
6059

6160
/**
61+
* Constructor
62+
*
6263
* @param Config\Reader $reader
6364
* @param \Magento\Framework\Config\CacheInterface $cache
6465
* @param \Magento\Store\Model\StoreManagerInterface $storeManager

app/code/Magento/Directory/Model/Country/Postcode/Config/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides country postcodes configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param Reader $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

app/code/Magento/Eav/Model/Entity/Attribute/Config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides EAV attributes configuration
12+
*/
1013
class Config extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param Config\Reader $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

app/code/Magento/Email/Model/Template/Config/Data.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77

88
use Magento\Framework\Serialize\SerializerInterface;
99

10+
/**
11+
* Provides email templates configuration
12+
*/
1013
class Data extends \Magento\Framework\Config\Data
1114
{
1215
/**
16+
* Constructor
17+
*
1318
* @param \Magento\Email\Model\Template\Config\Reader $reader
1419
* @param \Magento\Framework\Config\CacheInterface $cache
1520
* @param string|null $cacheId

0 commit comments

Comments
 (0)