Skip to content

Commit b5f2791

Browse files
author
Igor Melnikov
committed
MAGETWO-67576: Add @api Annotation in Pricing Framework
- merging with remote tracking branch
2 parents 8c59a78 + bd841c6 commit b5f2791

File tree

23 files changed

+57
-27
lines changed

23 files changed

+57
-27
lines changed

lib/internal/Magento/Framework/App/Cache/Manager.php

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

1111
/**
1212
* Cache status manager
13+
*
14+
* @api
1315
*/
1416
class Manager
1517
{

lib/internal/Magento/Framework/App/Cache/Tag/StrategyInterface.php

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

88
/**
99
* Invalidation tags generator
10+
*
11+
* @api
1012
*/
1113
interface StrategyInterface
1214
{

lib/internal/Magento/Framework/App/Cache/Type/Config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
/**
8-
* System / Cache Management / Cache type "Configuration"
9-
*/
107
namespace Magento\Framework\App\Cache\Type;
118

129
use Magento\Framework\Cache\Frontend\Decorator\TagScope;
1310
use Magento\Framework\Config\CacheInterface;
1411

12+
/**
13+
* System / Cache Management / Cache type "Configuration"
14+
*/
1515
class Config extends TagScope implements CacheInterface
1616
{
1717
/**

lib/internal/Magento/Framework/App/Cache/Type/FrontendPool.php

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

1111
/**
1212
* In-memory readonly pool of cache front-ends with enforced access control, specific to cache types
13+
*
14+
* @api
1315
*/
1416
class FrontendPool
1517
{

lib/internal/Magento/Framework/Cache/Backend/Decorator/AbstractDecorator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Cache\Backend\Decorator;
8+
79
/**
810
* Abstract decorator class for \Zend_Cache_Backend class and its descendants
911
*/
10-
namespace Magento\Framework\Cache\Backend\Decorator;
11-
1212
abstract class AbstractDecorator extends \Zend_Cache_Backend implements \Zend_Cache_Backend_ExtendedInterface
1313
{
1414
/**

lib/internal/Magento/Framework/Cache/Backend/Decorator/Compression.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Cache\Backend\Decorator;
8+
79
/**
810
* Decorator class for compressing data before storing in cache
911
*
1012
* @todo re-implement as a cache frontend decorator similarly to \Magento\Framework\Cache\Frontend\Decorator\*
1113
*/
12-
namespace Magento\Framework\Cache\Backend\Decorator;
13-
1414
class Compression extends \Magento\Framework\Cache\Backend\Decorator\AbstractDecorator
1515
{
1616
/**

lib/internal/Magento/Framework/Cache/Frontend/Decorator/Logger.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
/**
8-
* Cache frontend decorator that logger of cache invalidate
9-
*/
107
namespace Magento\Framework\Cache\Frontend\Decorator;
118

129
use Magento\Framework\Cache\FrontendInterface;
1310
use Magento\Framework\Cache\InvalidateLogger as LoggerHandler;
1411

12+
/**
13+
* Cache frontend decorator that logs cache invalidation actions
14+
*/
1515
class Logger extends Bare
1616
{
1717
/**

lib/internal/Magento/Framework/Cache/Frontend/Decorator/Profiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Cache\Frontend\Decorator;
8+
79
/**
810
* Cache frontend decorator that performs profiling of cache operations
911
*/
10-
namespace Magento\Framework\Cache\Frontend\Decorator;
11-
1212
class Profiler extends \Magento\Framework\Cache\Frontend\Decorator\Bare
1313
{
1414
/**

lib/internal/Magento/Framework/Cache/Frontend/Decorator/TagScope.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Cache\Frontend\Decorator;
8+
79
/**
810
* Cache frontend decorator that limits the cleaning scope within a tag
11+
*
12+
* @api
913
*/
10-
namespace Magento\Framework\Cache\Frontend\Decorator;
11-
1214
class TagScope extends \Magento\Framework\Cache\Frontend\Decorator\Bare
1315
{
1416
/**

lib/internal/Magento/Framework/Cache/FrontendInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Framework\Cache;
8+
79
/**
810
* Interface of a cache frontend - an ultimate publicly available interface to an actual cache storage
11+
*
12+
* @api
913
*/
10-
namespace Magento\Framework\Cache;
11-
1214
interface FrontendInterface
1315
{
1416
/**

0 commit comments

Comments
 (0)