PHP Class Neos\Neos\Ui\Domain\Model\Feedback\AbstractMessageFeedback

Inheritance: implements Neos\Neos\Ui\Domain\Model\FeedbackInterface
Show file Open project: neos/neos-ui

Protected Properties

Property Type Description
$message string
$severity string

Public Methods

Method Description
getMessage ( ) : string Get the message
getSeverity ( ) : string Get the severity
isSimilarTo ( Neos\Neos\Ui\Domain\Model\FeedbackInterface $feedback ) : boolean Checks whether this feedback is similar to another
serializePayload ( ) : mixed Serialize the payload for this feedback
serializePayload ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : mixed Serialize the payload for this feedback
setMessage ( string $message ) : void Set the message

Method Details

getMessage() public method

Get the message
public getMessage ( ) : string
return string

getSeverity() public method

Get the severity
public getSeverity ( ) : string
return string

isSimilarTo() public method

Checks whether this feedback is similar to another
public isSimilarTo ( Neos\Neos\Ui\Domain\Model\FeedbackInterface $feedback ) : boolean
$feedback Neos\Neos\Ui\Domain\Model\FeedbackInterface
return boolean

serializePayload() public method

Serialize the payload for this feedback
public serializePayload ( ) : mixed
return mixed

serializePayload() public method

Serialize the payload for this feedback
public serializePayload ( TYPO3\Flow\Mvc\Controller\ControllerContext $controllerContext ) : mixed
$controllerContext TYPO3\Flow\Mvc\Controller\ControllerContext
return mixed

setMessage() public method

Set the message
public setMessage ( string $message ) : void
$message string
return void

Property Details

$message protected property

protected string $message
return string

$severity protected property

protected string $severity
return string