Skip to content

Commit 8a22c56

Browse files
author
Andrey Konosov
committed
MAGETWO-66143: Increase api coverage for catalog, catalogStaging and advancedCatalog modules
1 parent 3f75fac commit 8a22c56

File tree

69 files changed

+196
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+196
-0
lines changed

app/code/Magento/Catalog/Block/ShortcutButtons.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
use Magento\Framework\View\Element\Template;
99

10+
/**
11+
* Shortcuts container
12+
*
13+
* Accepts shortcuts on shortcut_buttons_container event and render shortcuts using custom order
14+
*
15+
* @api
16+
*/
1017
class ShortcutButtons extends Template
1118
{
1219
/**#@+

app/code/Magento/Catalog/Block/ShortcutInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
*/
66
namespace Magento\Catalog\Block;
77

8+
/**
9+
* Shortcut block interface
10+
*
11+
* @api
12+
*/
813
interface ShortcutInterface
914
{
1015
/**

app/code/Magento/Catalog/Helper/Data.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
/**
1717
* Catalog data helper
18+
*
19+
* @api
20+
*
1821
* @SuppressWarnings(PHPMD.TooManyFields)
1922
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2023
*/

app/code/Magento/Catalog/Helper/Image.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Catalog image helper
13+
*
14+
* @api
1315
* @SuppressWarnings(PHPMD.TooManyFields)
1416
*/
1517
class Image extends AbstractHelper

app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Interface for product configuration helpers
11+
*
12+
* @api
1113
*/
1214
interface ConfigurationInterface
1315
{

app/code/Magento/Catalog/Model/Category.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* Catalog category
1919
*
20+
* @api
21+
*
2022
* @method Category setAffectedProductIds(array $productIds)
2123
* @method array getAffectedProductIds()
2224
* @method Category setMovedCategoryId(array $productIds)

app/code/Magento/Catalog/Model/Category/DataProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
/**
2929
* Class DataProvider
3030
*
31+
* @api
32+
*
3133
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3234
*/
3335
class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider

app/code/Magento/Catalog/Model/Design.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/**
99
* Catalog Custom Category design Model
1010
*
11+
* @api
12+
*
1113
* @author Magento Core Team <core@magentocommerce.com>
1214
*/
1315
class Design extends \Magento\Framework\Model\AbstractModel

app/code/Magento/Catalog/Model/Indexer/Category/Flat.php

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

88
use Magento\Framework\Indexer\CacheContext;
99

10+
/**
11+
* Category flat indexer
12+
*
13+
* @api
14+
*/
1015
class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface
1116
{
1217
/**

app/code/Magento/Catalog/Model/Indexer/Category/Product/Processor.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
*/
66
namespace Magento\Catalog\Model\Indexer\Category\Product;
77

8+
/**
9+
* Category product link indexer
10+
*
11+
* @api
12+
*/
813
class Processor extends \Magento\Framework\Indexer\AbstractProcessor
914
{
1015
/**

0 commit comments

Comments
 (0)