Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Warning Class Reference
Inheritance diagram for Warning:
AbstractMessage MessageInterface

Public Member Functions

 getType ()
 
- Public Member Functions inherited from AbstractMessage
 __construct ( $text=null)
 
 getType ()
 
 getText ()
 
 setText ($text)
 
 setIdentifier ($identifier)
 
 getIdentifier ()
 
 setIsSticky ($isSticky=true)
 
 getIsSticky ()
 
 toString ()
 
 setData (array $data=[])
 
 getData ()
 

Additional Inherited Members

- Data Fields inherited from MessageInterface
const DEFAULT_IDENTIFIER = 'default_message_identifier'
 
const TYPE_ERROR = 'error'
 
const TYPE_WARNING = 'warning'
 
const TYPE_NOTICE = 'notice'
 
const TYPE_SUCCESS = 'success'
 
- Protected Attributes inherited from AbstractMessage
 $text
 
 $identifier
 
 $isSticky = false
 
 $data
 

Detailed Description

Warning message model

Definition at line 11 of file Warning.php.

Member Function Documentation

◆ getType()

getType ( )

Getter message type

Returns
string

Implements MessageInterface.

Definition at line 18 of file Warning.php.


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