47 return $this->
setHeader(
'Content-Type',
"{$mimeType}; charset=" . self::RESPONSE_CHARSET,
true);
74 return (
bool)count($this->_messages) > 0;
94 $this->_messages = [];
setHeader($name, $value, $replace=false)
const MESSAGE_TYPE_WARNING
const MESSAGE_TYPE_SUCCESS
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
addMessage($message, $code, $params=[], $type=self::MESSAGE_TYPE_ERROR)