Skip to content

Mark Framework Api interfaces #7 #32069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/*
* Interface for converting localized date to UTC
*
* @api
*/
interface LocalizedDateToUtcConverterInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Interface for generation of a class of specific type
*
* @api
*/
interface GeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Factory like class to return an instance of the inline translate.
*
* @api
*/
interface ProviderInterface
{
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/TranslateInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* @todo change this interface when i18n-related logic is moved to library
*
* @api
*/
interface TranslateInterface
{
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/Url/ModifierInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* URL modifier interface.
*
* @api
*/
interface ModifierInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Route parameters preprocessor interface.
*
* @api
*/
interface RouteParamsPreprocessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/**
* Interface \Magento\Framework\Validator\Constraint\OptionInterface
*
* @api
*/
interface OptionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\Validator\HTML;
Expand All @@ -12,6 +11,8 @@

/**
* Validates HTML attributes content.
*
* @api
*/
interface AttributeValidatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\Validator\HTML;
Expand All @@ -12,6 +11,8 @@

/**
* Validates tag for user HTML content.
*
* @api
*/
interface TagValidatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\Validator\HTML;
Expand All @@ -12,6 +11,8 @@

/**
* Validates user HTML.
*
* @api
*/
interface WYSIWYGValidatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Interface ContentProcessorInterface
*
* @api
*/
interface ContentProcessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Framework\View\Asset;

/**
* An abstraction for getting context path of an asset
*
* @api
*/
interface ContextInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface LockerProcessInterface
*
* @api
*/
interface LockerProcessInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface for merging multiple assets into one
*
* @api
*/
interface MergeStrategyInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface of an asset that can be merged with other assets
*
* @api
*/
interface MergeableInterface extends LocalInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface FilenameResolverInterface
*
* @api
*/
interface FilenameResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
* Rule Interface
*
* Interface for search path resolution during fallback process
*
* @api
*/
interface RuleInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Framework\View\Design\FileResolution\Fallback;

use Magento\Framework\View\Design\FileResolution\Fallback;
use Magento\Framework\View\Design\ThemeInterface;

/**
* Interface for resolvers of view files using fallback rules
*
* @api
*/
interface ResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme customization configuration interface
*
* @api
*/
interface ConfigInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme asset file interface
*
* @api
*/
interface FileAssetInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme service file interface
*
* @api
*/
interface FileInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme customization interface
*
* @api
*/
interface CustomizationInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Design Theme File collection interface
*
* @api
*/
interface CollectionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme file interface
*
* @api
*/
interface FileInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Theme Image Path interface
*
* @api
*/
interface PathInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Theme resolver interface
*
* @api
*/
interface ResolverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface ThemeProviderInterface
*
* @api
*/
interface ThemeProviderInterface
{
Expand Down