Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Data Fields
MessageInterface Interface Reference
Inheritance diagram for MessageInterface:
Message Baseurl CacheOutdated AbstractSynchronization Security NotificationAboutFailedSubscription Invalid RecreatedIntegration EmptyGroupCategory NotificationInterface Notifications

Public Member Functions

 getIdentity ()
 
 isDisplayed ()
 
 getText ()
 
 getSeverity ()
 

Data Fields

const SEVERITY_CRITICAL = 1
 
const SEVERITY_MAJOR = 2
 
const SEVERITY_MINOR = 3
 
const SEVERITY_NOTICE = 4
 

Detailed Description

Interface for system messages

Interface MessageInterface

@api

Since
100.0.2

Definition at line 19 of file MessageInterface.php.

Member Function Documentation

◆ getIdentity()

getIdentity ( )

◆ getSeverity()

getSeverity ( )

◆ getText()

getText ( )

◆ isDisplayed()

isDisplayed ( )

Field Documentation

◆ SEVERITY_CRITICAL

const SEVERITY_CRITICAL = 1

Definition at line 21 of file MessageInterface.php.

◆ SEVERITY_MAJOR

const SEVERITY_MAJOR = 2

Definition at line 23 of file MessageInterface.php.

◆ SEVERITY_MINOR

const SEVERITY_MINOR = 3

Definition at line 25 of file MessageInterface.php.

◆ SEVERITY_NOTICE

const SEVERITY_NOTICE = 4

Definition at line 27 of file MessageInterface.php.


The documentation for this interface was generated from the following file: