diff --git a/app/code/Magento/Catalog/Block/Product/AwareInterface.php b/app/code/Magento/Catalog/Block/Product/AwareInterface.php index cd1475d029cc6..37c9111c709e7 100644 --- a/app/code/Magento/Catalog/Block/Product/AwareInterface.php +++ b/app/code/Magento/Catalog/Block/Product/AwareInterface.php @@ -7,6 +7,8 @@ /** * Class Product Aware interface + * + * @api */ interface AwareInterface { diff --git a/app/code/Magento/Catalog/Block/Product/ImageFactory.php b/app/code/Magento/Catalog/Block/Product/ImageFactory.php index d43a77695e363..61133cb054d66 100644 --- a/app/code/Magento/Catalog/Block/Product/ImageFactory.php +++ b/app/code/Magento/Catalog/Block/Product/ImageFactory.php @@ -18,6 +18,8 @@ /** * Create imageBlock from product and view.xml + * + * @api */ class ImageFactory { diff --git a/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php b/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php index 6fc118d97cb32..64c061abb66a3 100644 --- a/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php +++ b/app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Block\Product\ReviewRendererInterface * + * @api */ interface ReviewRendererInterface { diff --git a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php index 002f2a3886ae9..0e68670a71174 100644 --- a/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php +++ b/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php @@ -8,6 +8,7 @@ /** * Interface \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerInterface * + * @api */ interface HandlerInterface { diff --git a/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php b/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php index 8741eb41053da..e19a6eae31746 100644 --- a/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php +++ b/app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php @@ -6,6 +6,8 @@ /** * Marker interface for controllers on product view page + * + * @api */ namespace Magento\Catalog\Controller\Product\View; diff --git a/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php b/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php index bb63281bd4895..eea06a50bf503 100644 --- a/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php +++ b/app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php @@ -10,6 +10,7 @@ /** * Interface \Magento\Catalog\Model\Attribute\LockValidatorInterface * + * @api */ interface LockValidatorInterface { diff --git a/app/code/Magento/Catalog/Model/Config.php b/app/code/Magento/Catalog/Model/Config.php index c4ff12bbf0f94..8b8971377817a 100644 --- a/app/code/Magento/Catalog/Model/Config.php +++ b/app/code/Magento/Catalog/Model/Config.php @@ -11,6 +11,7 @@ /** * Catalog config model. * + * @api * @SuppressWarnings(PHPMD.LongVariable) * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php b/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php index 1d31b8e1f7cee..39e9a1c1205c5 100644 --- a/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php +++ b/app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php @@ -9,6 +9,8 @@ /** * Interface ProductPriceOptionsInterface + * + * @api */ interface ProductPriceOptionsInterface extends OptionSourceInterface { diff --git a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php index 35af7c4b4a4b8..b5bbe8c6d9e89 100644 --- a/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php +++ b/app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php @@ -12,6 +12,7 @@ /** * Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface * + * @api */ interface AttributeMapperInterface { diff --git a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php index 59ba258dc129a..455d6f09a43b8 100644 --- a/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php +++ b/app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php @@ -7,6 +7,8 @@ /** * Interface TableDataInterface + * + * @api */ interface TableDataInterface { diff --git a/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php b/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php index 0727a6d4d3c7b..5ceb7f9972dec 100644 --- a/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Model\Layer\CollectionFilterInterface * + * @api */ interface CollectionFilterInterface { diff --git a/app/code/Magento/Catalog/Model/Layer/Filter/Item.php b/app/code/Magento/Catalog/Model/Layer/Filter/Item.php index b37d248a3f2f8..67e5c6dbece41 100644 --- a/app/code/Magento/Catalog/Model/Layer/Filter/Item.php +++ b/app/code/Magento/Catalog/Model/Layer/Filter/Item.php @@ -3,14 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + +namespace Magento\Catalog\Model\Layer\Filter; /** * Filter item model * - * @author Magento Core Team + * @api */ -namespace Magento\Catalog\Model\Layer\Filter; - class Item extends \Magento\Framework\DataObject { /** diff --git a/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php b/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php index 547e57a909b57..12bc11646b2cb 100644 --- a/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Model\Layer\FilterableAttributeListInterface * + * @api */ interface FilterableAttributeListInterface { diff --git a/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php b/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php index 68f21c88a2d03..f9c8f00705614 100644 --- a/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php @@ -10,6 +10,7 @@ /** * Interface \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface * + * @api */ interface ItemCollectionProviderInterface { diff --git a/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php b/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php index 4d43f836af4ce..c751df7494ed0 100644 --- a/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php +++ b/app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Model\Layer\StateKeyInterface * + * @api */ interface StateKeyInterface { diff --git a/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php b/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php index f1be3a1d4d599..0bb6f7568fa28 100644 --- a/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php @@ -12,6 +12,7 @@ /** * Interface \Magento\Catalog\Model\Product\Condition\ConditionInterface * + * @api */ interface ConditionInterface { diff --git a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php index 7baa2e0493207..e765464ea6d3a 100644 --- a/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php @@ -7,6 +7,7 @@ /** * Interface of product configurational item option * + * @api * @author Magento Core Team */ namespace Magento\Catalog\Model\Product\Configuration\Item\Option; diff --git a/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php b/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php index b609debf3ee10..2392fb24a407f 100644 --- a/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php @@ -12,6 +12,7 @@ /** * Interface \Magento\Catalog\Model\Product\Media\ConfigInterface * + * @api */ interface ConfigInterface { diff --git a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php index 4d17f55114c6a..178ebb3dd6333 100644 --- a/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php +++ b/app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php @@ -8,6 +8,8 @@ /** * Interface resolver checks whether product available for sale + * + * @api */ interface SalableResolverInterface { diff --git a/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php b/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php index 2d30190e12f3b..298177be81c92 100644 --- a/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php +++ b/app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php @@ -4,11 +4,13 @@ * See COPYING.txt for license details. */ +namespace Magento\Catalog\Model\Product\Type\Price; + /** * Product type price factory + * + * @api */ -namespace Magento\Catalog\Model\Product\Type\Price; - class Factory { /** diff --git a/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php b/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php index 2311ea5e1c506..93f91a70a169b 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Model\ProductLink\CollectionProviderInterface * + * @api */ interface CollectionProviderInterface { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php index 70e41ce03fb99..74e17152ec256 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php @@ -9,6 +9,7 @@ /** * Interface \Magento\Catalog\Model\ProductLink\Converter\ConverterInterface * + * @api */ interface ConverterInterface { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Data/ListCriteriaInterface.php b/app/code/Magento/Catalog/Model/ProductLink/Data/ListCriteriaInterface.php index 0291be5b9e783..9a174e32d475c 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Data/ListCriteriaInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Data/ListCriteriaInterface.php @@ -9,6 +9,8 @@ /** * Criteria for finding lists. + * + * @api */ interface ListCriteriaInterface { diff --git a/app/code/Magento/Catalog/Model/ProductLink/Data/ListResultInterface.php b/app/code/Magento/Catalog/Model/ProductLink/Data/ListResultInterface.php index f5c0454e7a542..984056dfdadc7 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/Data/ListResultInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/Data/ListResultInterface.php @@ -11,6 +11,8 @@ /** * Result of finding a list of links. + * + * @api */ interface ListResultInterface { diff --git a/app/code/Magento/Catalog/Model/ProductLink/MapProviderInterface.php b/app/code/Magento/Catalog/Model/ProductLink/MapProviderInterface.php index 31951ab10f5b4..571bcd71faa36 100644 --- a/app/code/Magento/Catalog/Model/ProductLink/MapProviderInterface.php +++ b/app/code/Magento/Catalog/Model/ProductLink/MapProviderInterface.php @@ -12,6 +12,8 @@ /** * Provide link data for products. + * + * @api */ interface MapProviderInterface { diff --git a/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php b/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php index b41429736591e..c38fce00524b1 100644 --- a/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php +++ b/app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php @@ -8,6 +8,7 @@ /** * Interface \Magento\Catalog\Model\ProductOptions\ConfigInterface * + * @api */ interface ConfigInterface { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableStructure.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableStructure.php index fb3eef2bf38eb..7bd935ab7d3bc 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableStructure.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableStructure.php @@ -9,6 +9,8 @@ /** * Wrapper for structure of price index table. + * + * @api */ class IndexTableStructure { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceModifierInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceModifierInterface.php index 6ecb6aba89933..5086ce563f151 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceModifierInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceModifierInterface.php @@ -9,6 +9,8 @@ /** * Interface for modifying price data in price index table. + * + * @api */ interface PriceModifierInterface { diff --git a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php index 3411c124bf5ce..55066d4c0014d 100644 --- a/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php +++ b/app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php @@ -7,6 +7,8 @@ /** * Provide Select object for retrieve product id with minimal price + * + * @api */ interface LinkedProductSelectBuilderInterface { diff --git a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php index e41df30ea1dec..7bd5398b9bda7 100644 --- a/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php @@ -10,6 +10,8 @@ /** * Configured price interface. + * + * @api */ interface ConfiguredPriceInterface { diff --git a/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php b/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php index 6c493947919da..acc76523d7603 100644 --- a/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php @@ -11,6 +11,8 @@ /** * Interface define methods which control display of "As low as" price + * + * @api */ interface MinimalPriceCalculatorInterface { diff --git a/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php b/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php index f7a8fa0c9d77c..b9cb223bef0d7 100644 --- a/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php +++ b/app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php @@ -8,6 +8,8 @@ /** * Special price interface + * + * @api */ interface SpecialPriceInterface { diff --git a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessorInterface.php b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessorInterface.php index 64faef7ba2761..66f5b586ca56b 100644 --- a/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessorInterface.php +++ b/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessorInterface.php @@ -10,6 +10,8 @@ /** * Interface WysiwygConfigDataProcessorInterface + * + * @api */ interface WysiwygConfigDataProcessorInterface { diff --git a/app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/LayerBuilderInterface.php b/app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/LayerBuilderInterface.php index bd55bc6938b39..5ac24a6adc36e 100644 --- a/app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/LayerBuilderInterface.php +++ b/app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/LayerBuilderInterface.php @@ -26,6 +26,8 @@ * ], * ... * ]; + * + * @api */ interface LayerBuilderInterface { diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Categories/DataProvider/Category/CollectionProcessorInterface.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Categories/DataProvider/Category/CollectionProcessorInterface.php index 5e79064e9acfa..6906e71cb043f 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Categories/DataProvider/Category/CollectionProcessorInterface.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Categories/DataProvider/Category/CollectionProcessorInterface.php @@ -13,6 +13,8 @@ /** * Add additional joins, attributes, and clauses to a category collection. + * + * @api */ interface CollectionProcessorInterface { diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Price/ProviderInterface.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Price/ProviderInterface.php index 99459daf045a5..018d2029fd6d6 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Price/ProviderInterface.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/Price/ProviderInterface.php @@ -12,6 +12,8 @@ /** * Provides product prices + * + * @api */ interface ProviderInterface { diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product/CollectionProcessorInterface.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product/CollectionProcessorInterface.php index 18e249ff23ac7..6e2ff7c7da660 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product/CollectionProcessorInterface.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product/CollectionProcessorInterface.php @@ -13,6 +13,8 @@ /** * Add additional joins, attributes, and clauses to a product collection. + * + * @api */ interface CollectionProcessorInterface { diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/Query/ProductQueryInterface.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/Query/ProductQueryInterface.php index fca6f3d4f7770..1ebb847784a8a 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/Query/ProductQueryInterface.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/Query/ProductQueryInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\CatalogGraphQl\Model\Resolver\Products\Query; @@ -12,6 +13,8 @@ /** * Search for products by criteria + * + * @api */ interface ProductQueryInterface { diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/SearchResult.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/SearchResult.php index e4a137413b4c5..6b5c8b126832c 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/SearchResult.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Products/SearchResult.php @@ -11,6 +11,8 @@ /** * Container for a product search holding the item result and the array in the GraphQL-readable product type format. + * + * @api */ class SearchResult { diff --git a/app/code/Magento/CatalogImportExport/Model/Export/ProductFilterInterface.php b/app/code/Magento/CatalogImportExport/Model/Export/ProductFilterInterface.php index 30985f3dc8cd7..c8d39fa522966 100644 --- a/app/code/Magento/CatalogImportExport/Model/Export/ProductFilterInterface.php +++ b/app/code/Magento/CatalogImportExport/Model/Export/ProductFilterInterface.php @@ -9,6 +9,11 @@ use Magento\Catalog\Model\ResourceModel\Product\Collection; +/** + * Product filter interface + * + * @api + */ interface ProductFilterInterface { /** diff --git a/app/code/Magento/CatalogRule/Model/Indexer/IndexerTableSwapperInterface.php b/app/code/Magento/CatalogRule/Model/Indexer/IndexerTableSwapperInterface.php index 2f37e680949ae..9171425409d23 100644 --- a/app/code/Magento/CatalogRule/Model/Indexer/IndexerTableSwapperInterface.php +++ b/app/code/Magento/CatalogRule/Model/Indexer/IndexerTableSwapperInterface.php @@ -10,6 +10,8 @@ /** * Manage additional tables used while building new index to preserve * index tables until the process finishes. + * + * @api */ interface IndexerTableSwapperInterface { diff --git a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php index 7efe708a5755f..723073a3b0002 100644 --- a/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Adapter/Aggregation/RequestCheckerInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\CatalogSearch\Model\Adapter\Aggregation; use Magento\Framework\Search\RequestInterface; /** * RequestCheckerInterface provides the interface to work with query checkers. + * + * @api */ interface RequestCheckerInterface { diff --git a/app/code/Magento/CatalogSearch/Model/Advanced/ProductCollectionPrepareStrategyInterface.php b/app/code/Magento/CatalogSearch/Model/Advanced/ProductCollectionPrepareStrategyInterface.php index 23719a6713a32..727a410bf23b9 100644 --- a/app/code/Magento/CatalogSearch/Model/Advanced/ProductCollectionPrepareStrategyInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Advanced/ProductCollectionPrepareStrategyInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\CatalogSearch\Model\Advanced; use Magento\Catalog\Model\ResourceModel\Product\Collection; /** * Strategy interface for preparing product collection. + * + * @api */ interface ProductCollectionPrepareStrategyInterface { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchCriteriaResolverInterface.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchCriteriaResolverInterface.php index 047fa7f71e400..05422a13741c3 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchCriteriaResolverInterface.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchCriteriaResolverInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection; @@ -10,6 +11,8 @@ /** * Resolve specific attributes for search criteria. + * + * @api */ interface SearchCriteriaResolverInterface { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplierInterface.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplierInterface.php index 1b3e2a6bbac71..29db40e5bcbc9 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplierInterface.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/SearchResultApplierInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection; /** * Resolve specific attributes for search criteria. + * + * @api */ interface SearchResultApplierInterface { diff --git a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/TotalRecordsResolverInterface.php b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/TotalRecordsResolverInterface.php index 190450f9606bc..eff23f3c00711 100644 --- a/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/TotalRecordsResolverInterface.php +++ b/app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection/TotalRecordsResolverInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection; /** * Resolve total records count. + * + * @api */ interface TotalRecordsResolverInterface { diff --git a/app/code/Magento/CatalogSearch/Model/Search/ItemCollectionProviderInterface.php b/app/code/Magento/CatalogSearch/Model/Search/ItemCollectionProviderInterface.php index db02d5ac5f519..57c81bface24d 100644 --- a/app/code/Magento/CatalogSearch/Model/Search/ItemCollectionProviderInterface.php +++ b/app/code/Magento/CatalogSearch/Model/Search/ItemCollectionProviderInterface.php @@ -4,6 +4,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\CatalogSearch\Model\Search; @@ -11,6 +12,8 @@ /** * Search collection provider. + * + * @api */ interface ItemCollectionProviderInterface { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Map/DatabaseMapInterface.php b/app/code/Magento/CatalogUrlRewrite/Model/Map/DatabaseMapInterface.php index 7ce55b0f2765f..ab9feaf5567bd 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Map/DatabaseMapInterface.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Map/DatabaseMapInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\CatalogUrlRewrite\Model\Map; /** @@ -11,6 +13,8 @@ * Is used to get data by a unique key from a temporary table in mysql to prevent memory usage * It internally holds the knowledge the creation of the actual data and it initializes itself when we call getData * We should always call destroyTableAdapter when we don't need anymore the temporary tables + * + * @api */ interface DatabaseMapInterface { diff --git a/app/code/Magento/CatalogUrlRewrite/Model/Map/HashMapInterface.php b/app/code/Magento/CatalogUrlRewrite/Model/Map/HashMapInterface.php index 69595c82d8655..ce87c785f81b7 100644 --- a/app/code/Magento/CatalogUrlRewrite/Model/Map/HashMapInterface.php +++ b/app/code/Magento/CatalogUrlRewrite/Model/Map/HashMapInterface.php @@ -3,9 +3,9 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ -namespace Magento\CatalogUrlRewrite\Model\Map; +declare(strict_types=1); -use Magento\Framework\DB\Select; +namespace Magento\CatalogUrlRewrite\Model\Map; /** * Interface for a hash data map @@ -15,6 +15,8 @@ * The map, upon initialization, might have a dependency on some other DataMapInterfaces * The map has to free memory after we're done using it * We need to destroy those maps too when calling resetData + * + * @api */ interface HashMapInterface { diff --git a/app/code/Magento/Checkout/Api/PaymentProcessingRateLimiterInterface.php b/app/code/Magento/Checkout/Api/PaymentProcessingRateLimiterInterface.php index d81b79fc8e201..8af18c623d7a4 100644 --- a/app/code/Magento/Checkout/Api/PaymentProcessingRateLimiterInterface.php +++ b/app/code/Magento/Checkout/Api/PaymentProcessingRateLimiterInterface.php @@ -12,6 +12,8 @@ /** * Limits number of times a user can initiate payment processing. + * + * @api */ interface PaymentProcessingRateLimiterInterface { diff --git a/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php b/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php index a5777766c3949..e2ed0efc82b96 100644 --- a/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php +++ b/app/code/Magento/Checkout/Controller/Express/RedirectLoginInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Checkout\Controller\Express; /** * Interface \Magento\Checkout\Controller\Express\RedirectLoginInterface * + * @api */ interface RedirectLoginInterface { diff --git a/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php b/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php index 95c62a7436e52..7f29828e992f8 100644 --- a/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php +++ b/app/code/Magento/Checkout/CustomerData/ItemPoolInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Checkout\CustomerData; @@ -10,6 +11,8 @@ /** * Item pool interface + * + * @api */ interface ItemPoolInterface { diff --git a/app/code/Magento/Checkout/Model/Type/Onepage.php b/app/code/Magento/Checkout/Model/Type/Onepage.php index f7e55fdc84cf7..ddd73924be956 100644 --- a/app/code/Magento/Checkout/Model/Type/Onepage.php +++ b/app/code/Magento/Checkout/Model/Type/Onepage.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Checkout\Model\Type; use Magento\Customer\Api\AccountManagementInterface; @@ -15,6 +17,9 @@ use Magento\Sales\Model\Order\Email\Sender\OrderSender; /** + * Checkout type onepage model + * + * @api * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) diff --git a/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php b/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php index eac3e44dc0de8..1175baa0d56ff 100644 --- a/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php +++ b/app/code/Magento/CheckoutAgreements/Model/AgreementsProviderInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\CheckoutAgreements\Model; /** * Interface AgreementsProviderInterface + * + * @api */ interface AgreementsProviderInterface { diff --git a/app/code/Magento/Cms/Model/Page/CustomLayout/Data/CustomLayoutSelectedInterface.php b/app/code/Magento/Cms/Model/Page/CustomLayout/Data/CustomLayoutSelectedInterface.php index 68bac57e98d56..8be2af29a9263 100644 --- a/app/code/Magento/Cms/Model/Page/CustomLayout/Data/CustomLayoutSelectedInterface.php +++ b/app/code/Magento/Cms/Model/Page/CustomLayout/Data/CustomLayoutSelectedInterface.php @@ -10,6 +10,8 @@ /** * Custom layout update file to be used for the specific CMS page. + * + * @api */ interface CustomLayoutSelectedInterface { diff --git a/app/code/Magento/Cms/Model/Page/CustomLayoutManagerInterface.php b/app/code/Magento/Cms/Model/Page/CustomLayoutManagerInterface.php index 6f15fcef7f8f4..29da6b3cedb81 100644 --- a/app/code/Magento/Cms/Model/Page/CustomLayoutManagerInterface.php +++ b/app/code/Magento/Cms/Model/Page/CustomLayoutManagerInterface.php @@ -14,6 +14,8 @@ /** * Manage custom layout files for CMS pages. + * + * @api */ interface CustomLayoutManagerInterface { diff --git a/app/code/Magento/Cms/Model/Page/CustomLayoutRepositoryInterface.php b/app/code/Magento/Cms/Model/Page/CustomLayoutRepositoryInterface.php index 80eb39b7ab20f..e390e957e826f 100644 --- a/app/code/Magento/Cms/Model/Page/CustomLayoutRepositoryInterface.php +++ b/app/code/Magento/Cms/Model/Page/CustomLayoutRepositoryInterface.php @@ -14,6 +14,8 @@ /** * Access to "custom layout" page property. + * + * @api */ interface CustomLayoutRepositoryInterface { diff --git a/app/code/Magento/Cms/Model/PageRepository/ValidatorInterface.php b/app/code/Magento/Cms/Model/PageRepository/ValidatorInterface.php index ff5c7648a9fa2..333c82c4f8c14 100644 --- a/app/code/Magento/Cms/Model/PageRepository/ValidatorInterface.php +++ b/app/code/Magento/Cms/Model/PageRepository/ValidatorInterface.php @@ -13,6 +13,8 @@ /** * Validate a page repository + * + * @api */ interface ValidatorInterface { diff --git a/app/code/Magento/Cms/Model/Template/FilterProvider.php b/app/code/Magento/Cms/Model/Template/FilterProvider.php index 02e337003f45c..5d9103a676f9c 100644 --- a/app/code/Magento/Cms/Model/Template/FilterProvider.php +++ b/app/code/Magento/Cms/Model/Template/FilterProvider.php @@ -1,14 +1,16 @@ CustomConditionInterface * You can use di.xml to configure with any custom conditions you need + * + * @api */ interface CustomConditionProviderInterface { diff --git a/lib/internal/Magento/Framework/Api/SimpleBuilderInterface.php b/lib/internal/Magento/Framework/Api/SimpleBuilderInterface.php index d7503f4223cbb..74ecaa8590b12 100644 --- a/lib/internal/Magento/Framework/Api/SimpleBuilderInterface.php +++ b/lib/internal/Magento/Framework/Api/SimpleBuilderInterface.php @@ -8,6 +8,8 @@ /** * Base Builder interface for simple data Objects + * + * @api */ interface SimpleBuilderInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpConnectActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpConnectActionInterface.php index 426fe584bade6..4d3e70a4de18c 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpConnectActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpConnectActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing CONNECT requests. + * + * @api */ interface HttpConnectActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpDeleteActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpDeleteActionInterface.php index 174f21cc57b4f..44d55d7e38be6 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpDeleteActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpDeleteActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing DELETE requests. + * + * @api */ interface HttpDeleteActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpGetActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpGetActionInterface.php index c3d3d2d6fd5ec..f9a07b927ddd9 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpGetActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpGetActionInterface.php @@ -10,6 +10,8 @@ /** * Marker for actions processing GET requests. + * + * @api */ interface HttpGetActionInterface extends HttpHeadActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpOptionsActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpOptionsActionInterface.php index fa768885a3de4..6fcd49f888c3e 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpOptionsActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpOptionsActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing OPTIONS requests. + * + * @api */ interface HttpOptionsActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpPatchActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpPatchActionInterface.php index bfc1ec94adcfe..fad706611ba01 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpPatchActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpPatchActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing PATCH requests. + * + * @api */ interface HttpPatchActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpPostActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpPostActionInterface.php index a4b87ecfe8452..42edc14bb047a 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpPostActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpPostActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing POST requests. + * + * @api */ interface HttpPostActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpPropfindActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpPropfindActionInterface.php index 7ddd32c4727c4..d58183bac01b1 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpPropfindActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpPropfindActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing PROPFIND requests. + * + * @api */ interface HttpPropfindActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpPutActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpPutActionInterface.php index a83e946d9a945..13bc01483b0a6 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpPutActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpPutActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing PUT requests. + * + * @api */ interface HttpPutActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/Action/HttpTraceActionInterface.php b/lib/internal/Magento/Framework/App/Action/HttpTraceActionInterface.php index b776ab061e66d..fc591c7a07cea 100644 --- a/lib/internal/Magento/Framework/App/Action/HttpTraceActionInterface.php +++ b/lib/internal/Magento/Framework/App/Action/HttpTraceActionInterface.php @@ -12,6 +12,8 @@ /** * Marker for actions processing TRACE requests. + * + * @api */ interface HttpTraceActionInterface extends ActionInterface { diff --git a/lib/internal/Magento/Framework/App/AreaInterface.php b/lib/internal/Magento/Framework/App/AreaInterface.php index b7e36b59a62d8..437f559e1230a 100644 --- a/lib/internal/Magento/Framework/App/AreaInterface.php +++ b/lib/internal/Magento/Framework/App/AreaInterface.php @@ -8,6 +8,8 @@ /** * Interface AreaInterface + * + * @api */ interface AreaInterface { diff --git a/lib/internal/Magento/Framework/App/Config/CommentInterface.php b/lib/internal/Magento/Framework/App/Config/CommentInterface.php index e8a119570ac92..b0eb93a7196f4 100644 --- a/lib/internal/Magento/Framework/App/Config/CommentInterface.php +++ b/lib/internal/Magento/Framework/App/Config/CommentInterface.php @@ -9,6 +9,8 @@ /** * Interface CommentInterface + * + * @api */ interface CommentInterface { diff --git a/lib/internal/Magento/Framework/App/Config/CommentParserInterface.php b/lib/internal/Magento/Framework/App/Config/CommentParserInterface.php index e88ea631d1889..b4f2a3b9e6321 100644 --- a/lib/internal/Magento/Framework/App/Config/CommentParserInterface.php +++ b/lib/internal/Magento/Framework/App/Config/CommentParserInterface.php @@ -9,6 +9,8 @@ /** * Interface for parsing comments in the configuration file. + * + * @api */ interface CommentParserInterface { diff --git a/lib/internal/Magento/Framework/App/Config/ConfigResource/ConfigInterface.php b/lib/internal/Magento/Framework/App/Config/ConfigResource/ConfigInterface.php index 641da1d420a96..f5b29a0633072 100644 --- a/lib/internal/Magento/Framework/App/Config/ConfigResource/ConfigInterface.php +++ b/lib/internal/Magento/Framework/App/Config/ConfigResource/ConfigInterface.php @@ -9,6 +9,8 @@ /** * Resource for storing store configuration values + * + * @api */ interface ConfigInterface { diff --git a/lib/internal/Magento/Framework/App/Config/ConfigSourceInterface.php b/lib/internal/Magento/Framework/App/Config/ConfigSourceInterface.php index ef8a6426a0e3a..597112f2ed857 100644 --- a/lib/internal/Magento/Framework/App/Config/ConfigSourceInterface.php +++ b/lib/internal/Magento/Framework/App/Config/ConfigSourceInterface.php @@ -9,6 +9,8 @@ /** * Interface ConfigSourceInterface + * + * @api */ interface ConfigSourceInterface { diff --git a/lib/internal/Magento/Framework/App/Config/ConfigTypeInterface.php b/lib/internal/Magento/Framework/App/Config/ConfigTypeInterface.php index 4982aeb498910..93e82f2d8e898 100644 --- a/lib/internal/Magento/Framework/App/Config/ConfigTypeInterface.php +++ b/lib/internal/Magento/Framework/App/Config/ConfigTypeInterface.php @@ -9,6 +9,8 @@ /** * Interface ConfigTypeInterface + * + * @api */ interface ConfigTypeInterface { diff --git a/lib/internal/Magento/Framework/App/Config/Reader/Source/SourceInterface.php b/lib/internal/Magento/Framework/App/Config/Reader/Source/SourceInterface.php index dea3fb3dee78e..16361774fd59a 100644 --- a/lib/internal/Magento/Framework/App/Config/Reader/Source/SourceInterface.php +++ b/lib/internal/Magento/Framework/App/Config/Reader/Source/SourceInterface.php @@ -9,6 +9,7 @@ * Provide access to data. Each Source can be responsible for each storage, where config data can be placed * * @package Magento\Framework\App\Config\Reader\Source + * @api */ interface SourceInterface { diff --git a/lib/internal/Magento/Framework/App/Config/Scope/ReaderInterface.php b/lib/internal/Magento/Framework/App/Config/Scope/ReaderInterface.php index fbc34e4a510bf..c0988ec911fd7 100644 --- a/lib/internal/Magento/Framework/App/Config/Scope/ReaderInterface.php +++ b/lib/internal/Magento/Framework/App/Config/Scope/ReaderInterface.php @@ -10,6 +10,7 @@ /** * Interface \Magento\Framework\App\Config\Scope\ReaderInterface * + * @api */ interface ReaderInterface { diff --git a/lib/internal/Magento/Framework/App/Config/Spi/PostProcessorInterface.php b/lib/internal/Magento/Framework/App/Config/Spi/PostProcessorInterface.php index c5aae224d136b..939dc1f31baa6 100644 --- a/lib/internal/Magento/Framework/App/Config/Spi/PostProcessorInterface.php +++ b/lib/internal/Magento/Framework/App/Config/Spi/PostProcessorInterface.php @@ -14,6 +14,7 @@ * @see SourceInterface * @see ConfigTypeInterface * @package Magento\Framework\App\Config\Spi + * @api */ interface PostProcessorInterface { diff --git a/lib/internal/Magento/Framework/App/Config/Spi/PreProcessorInterface.php b/lib/internal/Magento/Framework/App/Config/Spi/PreProcessorInterface.php index 450f582a12f23..9605b67913a98 100644 --- a/lib/internal/Magento/Framework/App/Config/Spi/PreProcessorInterface.php +++ b/lib/internal/Magento/Framework/App/Config/Spi/PreProcessorInterface.php @@ -7,6 +7,8 @@ /** * Allows to use custom callbacks and functions before applying fallback + * + * @api */ interface PreProcessorInterface { diff --git a/lib/internal/Magento/Framework/App/Config/ValueFactory.php b/lib/internal/Magento/Framework/App/Config/ValueFactory.php index 3216172017339..9a6b734fd980c 100644 --- a/lib/internal/Magento/Framework/App/Config/ValueFactory.php +++ b/lib/internal/Magento/Framework/App/Config/ValueFactory.php @@ -7,6 +7,8 @@ /** * Factory class + * + * @api */ class ValueFactory { diff --git a/lib/internal/Magento/Framework/App/Config/ValueInterface.php b/lib/internal/Magento/Framework/App/Config/ValueInterface.php index 0aa600b84dcce..a81ff2d325e0c 100644 --- a/lib/internal/Magento/Framework/App/Config/ValueInterface.php +++ b/lib/internal/Magento/Framework/App/Config/ValueInterface.php @@ -5,14 +5,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\App\Config; /** * Interface \Magento\Framework\App\Config\ValueInterface * - * This interface cannot be marked as API since doesn't fit developers' needs of extensibility. In 2.4 we are going - * to introduce a new interface which should cover all needs and deprecate the this one with the model - * {@see \Magento\Framework\App\Config\Value} + * @api + * @see \Magento\Framework\App\Config\Value */ interface ValueInterface { diff --git a/lib/internal/Magento/Framework/Async/CancelableDeferredInterface.php b/lib/internal/Magento/Framework/Async/CancelableDeferredInterface.php index 9b328273595e8..6163ec127b9bd 100644 --- a/lib/internal/Magento/Framework/Async/CancelableDeferredInterface.php +++ b/lib/internal/Magento/Framework/Async/CancelableDeferredInterface.php @@ -3,13 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - declare(strict_types=1); namespace Magento\Framework\Async; /** * Described deferred operation that can be canceled. + * + * @api */ interface CancelableDeferredInterface extends DeferredInterface { diff --git a/lib/internal/Magento/Framework/Async/DeferredInterface.php b/lib/internal/Magento/Framework/Async/DeferredInterface.php index 8c925fd95a3ab..41fa9ef4511f5 100644 --- a/lib/internal/Magento/Framework/Async/DeferredInterface.php +++ b/lib/internal/Magento/Framework/Async/DeferredInterface.php @@ -3,13 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ - declare(strict_types=1); namespace Magento\Framework\Async; /** * Describes a value that will be available at later time. + * + * @api */ interface DeferredInterface { diff --git a/lib/internal/Magento/Framework/Autoload/AutoloaderInterface.php b/lib/internal/Magento/Framework/Autoload/AutoloaderInterface.php index 24301063c8929..72753a4a0d98f 100644 --- a/lib/internal/Magento/Framework/Autoload/AutoloaderInterface.php +++ b/lib/internal/Magento/Framework/Autoload/AutoloaderInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Autoload; /** * Interface for an autoloader class that allows the dynamic modification of PSR-0 and PSR-4 mappings + * + * @api */ interface AutoloaderInterface { diff --git a/lib/internal/Magento/Framework/Backup/SourceFileInterface.php b/lib/internal/Magento/Framework/Backup/SourceFileInterface.php index bcc1d18686741..a36f9179688b4 100644 --- a/lib/internal/Magento/Framework/Backup/SourceFileInterface.php +++ b/lib/internal/Magento/Framework/Backup/SourceFileInterface.php @@ -3,15 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + +namespace Magento\Framework\Backup; /** * Interface for work with archives * - * @author Magento Core Team + * @api */ - -namespace Magento\Framework\Backup; - interface SourceFileInterface { diff --git a/lib/internal/Magento/Framework/Cache/ConfigInterface.php b/lib/internal/Magento/Framework/Cache/ConfigInterface.php index 4f35ab3bf4298..8e9d7fc41d237 100644 --- a/lib/internal/Magento/Framework/Cache/ConfigInterface.php +++ b/lib/internal/Magento/Framework/Cache/ConfigInterface.php @@ -1,15 +1,16 @@ * * "visibilityCondition" just another optional child element of ui component declaration + * + * @api */ interface VisibilityConditionInterface { diff --git a/lib/internal/Magento/Framework/View/Layout/Generator/ContextFactory.php b/lib/internal/Magento/Framework/View/Layout/Generator/ContextFactory.php index c866d1a2c88d2..1b6ac1f8c8b39 100644 --- a/lib/internal/Magento/Framework/View/Layout/Generator/ContextFactory.php +++ b/lib/internal/Magento/Framework/View/Layout/Generator/ContextFactory.php @@ -5,6 +5,9 @@ */ namespace Magento\Framework\View\Layout\Generator; +/** + * @api + */ class ContextFactory { /** diff --git a/lib/internal/Magento/Framework/View/Layout/GeneratorInterface.php b/lib/internal/Magento/Framework/View/Layout/GeneratorInterface.php index 134660dc34568..b17808fc27ae4 100644 --- a/lib/internal/Magento/Framework/View/Layout/GeneratorInterface.php +++ b/lib/internal/Magento/Framework/View/Layout/GeneratorInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Layout; /** * Interface \Magento\Framework\View\Layout\GeneratorInterface * + * @api */ interface GeneratorInterface { diff --git a/lib/internal/Magento/Framework/View/Layout/LayoutCacheKeyInterface.php b/lib/internal/Magento/Framework/View/Layout/LayoutCacheKeyInterface.php index 1d4bb8aebe882..1ff8a3d354519 100644 --- a/lib/internal/Magento/Framework/View/Layout/LayoutCacheKeyInterface.php +++ b/lib/internal/Magento/Framework/View/Layout/LayoutCacheKeyInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Layout; /** * Interface LayoutCacheKeyInterface + * + * @api */ interface LayoutCacheKeyInterface { diff --git a/lib/internal/Magento/Framework/View/Layout/ProcessorInterface.php b/lib/internal/Magento/Framework/View/Layout/ProcessorInterface.php index eacbc46a971de..a80f03c7c2eac 100644 --- a/lib/internal/Magento/Framework/View/Layout/ProcessorInterface.php +++ b/lib/internal/Magento/Framework/View/Layout/ProcessorInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Layout; /** * Interface ProcessorInterface + * + * @api */ interface ProcessorInterface { diff --git a/lib/internal/Magento/Framework/View/Layout/Reader/ContextFactory.php b/lib/internal/Magento/Framework/View/Layout/Reader/ContextFactory.php index 741f8f80b9d9d..d72b25791e6a1 100644 --- a/lib/internal/Magento/Framework/View/Layout/Reader/ContextFactory.php +++ b/lib/internal/Magento/Framework/View/Layout/Reader/ContextFactory.php @@ -5,6 +5,9 @@ */ namespace Magento\Framework\View\Layout\Reader; +/** + * @api + */ class ContextFactory { /** diff --git a/lib/internal/Magento/Framework/View/Layout/ReaderInterface.php b/lib/internal/Magento/Framework/View/Layout/ReaderInterface.php index 1c3dada6f16d2..d298c3aff9568 100644 --- a/lib/internal/Magento/Framework/View/Layout/ReaderInterface.php +++ b/lib/internal/Magento/Framework/View/Layout/ReaderInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Layout; /** * Interface \Magento\Framework\View\Layout\ReaderInterface * + * @api */ interface ReaderInterface { diff --git a/lib/internal/Magento/Framework/View/Model/PageLayout/Config/BuilderInterface.php b/lib/internal/Magento/Framework/View/Model/PageLayout/Config/BuilderInterface.php index 0f110246db093..5a7c4739f39de 100644 --- a/lib/internal/Magento/Framework/View/Model/PageLayout/Config/BuilderInterface.php +++ b/lib/internal/Magento/Framework/View/Model/PageLayout/Config/BuilderInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Model\PageLayout\Config; /** - * Interface BuilderInterface + * Interface Page Layout Config Builder + * + * @api */ interface BuilderInterface { diff --git a/lib/internal/Magento/Framework/View/Page/Config/RendererInterface.php b/lib/internal/Magento/Framework/View/Page/Config/RendererInterface.php index e49c8f141ec24..f343cc48f3755 100644 --- a/lib/internal/Magento/Framework/View/Page/Config/RendererInterface.php +++ b/lib/internal/Magento/Framework/View/Page/Config/RendererInterface.php @@ -3,13 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\View\Page\Config; /** * Interface RendererInterface * - * @package Magento\Framework\View\Page\Config + * @api */ interface RendererInterface { @@ -17,7 +18,6 @@ interface RendererInterface * Render Element Attributes * * @param string $elementType - * * @return string */ public function renderElementAttributes($elementType); diff --git a/lib/internal/Magento/Framework/View/Page/ConfigFactory.php b/lib/internal/Magento/Framework/View/Page/ConfigFactory.php index 556353c35c02e..b52ce3a031274 100644 --- a/lib/internal/Magento/Framework/View/Page/ConfigFactory.php +++ b/lib/internal/Magento/Framework/View/Page/ConfigFactory.php @@ -8,6 +8,8 @@ /** * Factory class for \Magento\Framework\View\Page\Config + * + * @api */ class ConfigFactory { diff --git a/lib/internal/Magento/Framework/View/PageLayout/Config.php b/lib/internal/Magento/Framework/View/PageLayout/Config.php index ba00e6beeda8e..8743209a10087 100644 --- a/lib/internal/Magento/Framework/View/PageLayout/Config.php +++ b/lib/internal/Magento/Framework/View/PageLayout/Config.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\View\PageLayout; /** * Page layouts configuration + * + * @api */ class Config extends \Magento\Framework\Config\AbstractXml { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/AttributeInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/AttributeInterface.php index c682fff45246d..9db9414d3cc55 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/AttributeInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/AttributeInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler; use Magento\Framework\DataObject; /** * Interface AttributeInterface + * + * @api */ interface AttributeInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CdataInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CdataInterface.php index 303a67c80b94d..46db057a8814c 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CdataInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CdataInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler; use Magento\Framework\DataObject; /** * Interface CdataInterface + * + * @api */ interface CdataInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CommentInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CommentInterface.php index 4b54d74d1e3e0..442cfd634e5ba 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CommentInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/CommentInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler; use Magento\Framework\DataObject; /** * Interface CommentInterface + * + * @api */ interface CommentInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Directive/DirectiveInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Directive/DirectiveInterface.php index dce2d3dfb4348..c4c1cbe10fec3 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Directive/DirectiveInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Directive/DirectiveInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler\Directive; use Magento\Framework\DataObject; /** * Interface DirectiveInterface + * + * @api */ interface DirectiveInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Element/ElementInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Element/ElementInterface.php index 994b8848af416..68147617aefd1 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Element/ElementInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/Element/ElementInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler\Element; use Magento\Framework\DataObject; @@ -10,6 +12,8 @@ /** * Interface ElementInterface + * + * @api */ interface ElementInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/TextInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/TextInterface.php index 4295b10e6b87b..994b30e64f982 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/TextInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/Compiler/TextInterface.php @@ -3,12 +3,16 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml\Compiler; use Magento\Framework\DataObject; /** * Interface TextInterface + * + * @api */ interface TextInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/ResultInterface.php b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/ResultInterface.php index e7583cac16ffe..78cd7cba7e92a 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/ResultInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngine/Xhtml/ResultInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\TemplateEngine\Xhtml; /** * Interface ResultInterface + * + * @api */ interface ResultInterface { diff --git a/lib/internal/Magento/Framework/View/TemplateEngineInterface.php b/lib/internal/Magento/Framework/View/TemplateEngineInterface.php index 30c653229c2c7..57c287af02fe3 100644 --- a/lib/internal/Magento/Framework/View/TemplateEngineInterface.php +++ b/lib/internal/Magento/Framework/View/TemplateEngineInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View; /** * Interface for Template Engine + * + * @api */ interface TemplateEngineInterface { @@ -19,7 +23,7 @@ interface TemplateEngineInterface * @param \Magento\Framework\View\Element\BlockInterface $block * @param string $templateFile * @param array $dictionary - * @return string rendered template + * @return string */ public function render( \Magento\Framework\View\Element\BlockInterface $block, diff --git a/lib/internal/Magento/Framework/View/Xsd/Media/TypeDataExtractorInterface.php b/lib/internal/Magento/Framework/View/Xsd/Media/TypeDataExtractorInterface.php index 2472e6ecfe20a..8deb45872e689 100644 --- a/lib/internal/Magento/Framework/View/Xsd/Media/TypeDataExtractorInterface.php +++ b/lib/internal/Magento/Framework/View/Xsd/Media/TypeDataExtractorInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\View\Xsd\Media; /** * Interface that encapsulates complexity of expression computation + * + * @api */ interface TypeDataExtractorInterface { diff --git a/lib/internal/Magento/Framework/Webapi/CustomAttribute/PreprocessorInterface.php b/lib/internal/Magento/Framework/Webapi/CustomAttribute/PreprocessorInterface.php index 8de30e92218c0..c1f7afceb7570 100644 --- a/lib/internal/Magento/Framework/Webapi/CustomAttribute/PreprocessorInterface.php +++ b/lib/internal/Magento/Framework/Webapi/CustomAttribute/PreprocessorInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Framework\Webapi\CustomAttribute; /** * Interface for attribute preprocessor + * + * @api */ interface PreprocessorInterface { diff --git a/lib/internal/Magento/Framework/Webapi/CustomAttribute/ServiceTypeListInterface.php b/lib/internal/Magento/Framework/Webapi/CustomAttribute/ServiceTypeListInterface.php index 37cf6849a32f9..e461843626823 100644 --- a/lib/internal/Magento/Framework/Webapi/CustomAttribute/ServiceTypeListInterface.php +++ b/lib/internal/Magento/Framework/Webapi/CustomAttribute/ServiceTypeListInterface.php @@ -3,9 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Webapi\CustomAttribute; +/** + * ServiceTypeListInterface interface + * + * @api + */ interface ServiceTypeListInterface { /** diff --git a/lib/internal/Magento/Framework/Webapi/CustomAttributeTypeLocatorInterface.php b/lib/internal/Magento/Framework/Webapi/CustomAttributeTypeLocatorInterface.php index ac183bc3b1871..43ba64dbdef48 100644 --- a/lib/internal/Magento/Framework/Webapi/CustomAttributeTypeLocatorInterface.php +++ b/lib/internal/Magento/Framework/Webapi/CustomAttributeTypeLocatorInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Framework\Webapi; /** * Interface to locate types for custom attributes + * + * @api */ interface CustomAttributeTypeLocatorInterface { diff --git a/lib/internal/Magento/Framework/Webapi/Rest/Request.php b/lib/internal/Magento/Framework/Webapi/Rest/Request.php index 78ed1b663c7ff..9b2313b593eea 100644 --- a/lib/internal/Magento/Framework/Webapi/Rest/Request.php +++ b/lib/internal/Magento/Framework/Webapi/Rest/Request.php @@ -11,6 +11,11 @@ use Magento\Framework\Api\SimpleDataObjectConverter; use Magento\Framework\Phrase; +/** + * Class Request + * + * @api + */ class Request extends \Magento\Framework\Webapi\Request { /**#@+ diff --git a/lib/internal/Magento/Framework/Webapi/Rest/Request/DeserializerInterface.php b/lib/internal/Magento/Framework/Webapi/Rest/Request/DeserializerInterface.php index 70a30a68b93e7..9d39a77898de9 100644 --- a/lib/internal/Magento/Framework/Webapi/Rest/Request/DeserializerInterface.php +++ b/lib/internal/Magento/Framework/Webapi/Rest/Request/DeserializerInterface.php @@ -1,15 +1,16 @@