/**
  * Emits the "loadMessages" signal
  *
  * @return void
  */
 protected function emitLoadMessages()
 {
     list($message) = $this->getSignalSlotDispatcher()->dispatch(__CLASS__, 'loadMessages', array(array()));
     if (empty($message)) {
         return;
     }
     // increase counter
     if (isset($message['count'])) {
         $this->totalCount += (int) $message['count'];
     }
     // define the severity for the badge
     if (InformationStatus::mapStatusToInt($message['status']) > InformationStatus::mapStatusToInt($this->highestSeverity)) {
         $this->highestSeverity = $message['status'];
     }
     $this->systemMessages[] = $message;
 }