Skip to content

Mark Framework interfaces as API part 9 #32151

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 @@ -3,11 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\View\File\FileList;

/**
* View file list collate interface
*
* @api
*/
interface CollateInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\View\Helper\SecureHtmlRender;

/**
* JS event handler data.
*
* @api
*/
class EventHandlerData
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\View\Helper\SecureHtmlRender;

/**
* Perform security related modifications or logic for HTML being rendered.
*
* @api
*/
interface SecurityProcessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Framework\View\Helper\SecureHtmlRender;

/**
* Tag data to render.
*
* @api
*/
class TagData
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\Argument;

/**
* Interface of value modification with no value loss
*
* @api
*/
interface UpdaterInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Framework\View\Layout\Condition;

/**
* Class VisibilityConditionInterface
* Interface VisibilityConditionInterface
*
* Introduces family of visibility conditions for layout elements.
* By using this interface a developer can specify dynamic rule for ui component visibility.
Expand All @@ -23,6 +25,8 @@
* </uiComponent>
*
* "visibilityCondition" just another optional child element of ui component declaration
*
* @api
*/
interface VisibilityConditionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
* 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
{
/**
* Render Element Attributes
*
* @param string $elementType
*
* @return string
*/
public function renderElementAttributes($elementType);
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/View/PageLayout/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
* 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;
use Magento\Framework\View\TemplateEngine\Xhtml\CompilerInterface;

/**
* Interface ElementInterface
*
* @api
*/
interface ElementInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Loading