/**
  * This method is used to add a message to the internal queue
  *
  * @param string $message The message itself
  * @param int $severity Message level (according to FlashMessage class constants)
  * @return void
  */
 public function addMessage($message, $severity = FlashMessage::OK)
 {
     $this->moduleTemplate->addFlashMessage($message, '', $severity);
 }