public function appendCustomMessage($message)
    {
        $customMessage = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('div', $message, '', 'custom-message');

        return $this->append($customMessage);
    }
public function appendCustomMessage($message)
    {
        $customMessage = $this->getHTMLDocument()->getHTMLFactory()->buildHtmlElement('div', $message, '', 'custom-message');

        return $this->append($customMessage);
    }
public function appendCustomMessage ( $ message ) { $ customMessage = $ this -> getHTMLDocument ( ) -> getHTMLFactory ( ) -> buildHtmlElement ( 'div' , $ message , '' , 'custom-message' ) ; return $ this -> append ( $ customMessage ) ; }
Creates and appends a custom notification message.

@param mixed $message The message content (string or HTMLElement)

@return $this
@throws InvalidArgumentException
Creates and appends a custom notification message .